aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-02-01 14:49:08 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-02-01 14:49:08 +0100
commitcc183f395a5e4eb93b712dfacc8083f6554b2250 (patch)
tree8061088a578548b550fcc6918c1ac75bd9beee28 /assets
parent8ac5a09605992f1e434cb793ceca7497c6f46d23 (diff)
downloadwcms-cc183f395a5e4eb93b712dfacc8083f6554b2250.tar.gz
wcms-cc183f395a5e4eb93b712dfacc8083f6554b2250.zip
js openby
Diffstat (limited to 'assets')
-rw-r--r--assets/js/edit.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/assets/js/edit.js b/assets/js/edit.js
index ab7471f..b4c173f 100644
--- a/assets/js/edit.js
+++ b/assets/js/edit.js
@@ -14,13 +14,6 @@ window.onload = () => {
form.onsubmit = submitHandler;
window.onkeydown = keyboardHandler;
window.onbeforeunload = confirmExit;
- myWorker.onmessage = function (e) {
- switch (e.data.type) {
- case 'quitEditing':
- myWorker.postMessage({ type: 'stillEditing' })
- break;
- }
- }
myWorker.postMessage({
type: 'init',