Skip to content

Commit

Permalink
Fix EDGE compatibility issue on Jappy activity
Browse files Browse the repository at this point in the history
  • Loading branch information
llaske committed Apr 11, 2018
1 parent a772476 commit 1f4b0d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activities/Jappy.activity/js/codeeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1760,15 +1760,15 @@ function init() {

event_bus.on("traybutton-open", traybutton_open);
function run() {
var js_output, script;
var js_output;
window.state = "run";
event_bus.trigger("traybutton-open");
riot.update();
event_bus.trigger("activity-save");
js_output = compile();
script = iframe.contentDocument.createElement("script");
script.innerHTML = js_output;
function write_script() {
var script = iframe.contentDocument.createElement("script");
script.innerHTML = js_output;
iframe.contentDocument.body.appendChild(script);
iframe.contentDocument.close();
};
Expand Down

0 comments on commit 1f4b0d4

Please sign in to comment.