diff --git a/script/engine.js b/script/engine.js index bbb8b64..0b69928 100644 --- a/script/engine.js +++ b/script/engine.js @@ -250,6 +250,7 @@ var Engine = { string64 = string64.replace(/\s/g, ''); string64 = string64.replace(/\./g, ''); string64 = string64.replace(/\n/g, ''); + Engine.enableSelection(); Events.startEvent({ title: 'Export', scenes: { @@ -259,7 +260,8 @@ var Engine = { buttons: { 'done': { text: 'got it', - nextScene: 'end' + nextScene: 'end', + onChoose: Engine.disableSelection } } } @@ -572,6 +574,11 @@ var Engine = { document.onselectstart = function() {return false;} // this is for IE document.onmousedown = function() {return false;} // this is for the rest }, + + enableSelection: function() { + document.onselectstart = function() {return true;} + document.onmousedown = function() {return true;} + }, handleStateUpdates: function(e){