diff --git a/scripts/system/edit.js b/scripts/system/edit.js index 332c9ed6c3..39ab946aa3 100644 --- a/scripts/system/edit.js +++ b/scripts/system/edit.js @@ -1478,7 +1478,7 @@ function onFileOpenChanged(filename) { // disconnect the event, otherwise the requests will stack up try { // Not all calls to onFileOpenChanged() connect an event. - Window.openFileChanged.disconnect(onFileOpenChanged) + Window.openFileChanged.disconnect(onFileOpenChanged); } catch (e) { // Ignore. }