diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-06-02 16:56:28 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-06-02 16:59:24 +1000 |
commit | 6d7b94daa6e940fd1f95ead45b9a247670d22d54 (patch) | |
tree | f39522d54dc6a307e2d1cca6ac30a198d02f93b9 /common/content/editor.js | |
parent | 95dffaf95a3653e55a34e090b800f9a79e9a8fd5 (diff) | |
download | pentadactyl-6d7b94daa6e940fd1f95ead45b9a247670d22d54.tar.gz |
Add missing semicolons.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r-- | common/content/editor.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index 2dd1a1cc..a3f0c5e3 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -419,7 +419,7 @@ function Editor() //{{{ mappings.add([modes.VISUAL], ["v"], "End visual mode", - function (count) { events.onEscape() }); + function (count) { events.onEscape(); }); mappings.add([modes.TEXTAREA], ["V"], "Start visual line mode", @@ -601,7 +601,8 @@ function Editor() //{{{ { let elem = liberator.focus; // A error occurs if the element has been removed when "elem.selectionStart" is executed. - try { + try + { if (elem && elem.selectionEnd) elem.selectionEnd = elem.selectionStart; } |