diff options
Diffstat (limited to 'src/editor/simple/example_based.js')
| -rw-r--r-- | src/editor/simple/example_based.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor/simple/example_based.js b/src/editor/simple/example_based.js index f38f657c7..07725d242 100644 --- a/src/editor/simple/example_based.js +++ b/src/editor/simple/example_based.js @@ -146,11 +146,11 @@ function exb_linbuttons(g,ci,f) { if(conc.example_based && eb) { if(eb.exready[fun]) buttons.push(button("By example",by_example)) - if(eb.testable[fun]) { + if(eb.testable[fun] && f.eb_lin) { var b=button("Test it",test_it); buttons.push(b) } - var exb_output=empty("span"); + var exb_output=node("span",{class:"exb_output"},[]); buttons.push(exb_output) } return buttons |
