diff --git a/common/content/editor.js b/common/content/editor.js index 3fd62605..65690146 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -24,7 +24,7 @@ const Editor = Module("editor", { try { Editor.getEditor(null).selection[toEnd ? "collapseToEnd" : "collapseToStart"](); } - catch (e) {}; + catch (e) {} }, selectedText: function () String(Editor.getEditor(null).selection), diff --git a/common/modules/base.jsm b/common/modules/base.jsm index d3ce56ab..4bd3f100 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -813,7 +813,7 @@ Class.prototype = { */ timeout: function (callback, timeout) { const self = this; - let notify = { notify: function notify(timer) { try { callback.apply(self) } catch (e) { util.reportError(e) } } }; + let notify = { notify: function notify(timer) { try { callback.apply(self); } catch (e) { util.reportError(e); } } }; let timer = services.create("timer"); timer.initWithCallback(notify, timeout || 0, timer.TYPE_ONE_SHOT); return timer;