summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-06-02 16:56:28 +1000
committerDoug Kearns <dougkearns@gmail.com>2009-06-02 16:59:24 +1000
commit6d7b94daa6e940fd1f95ead45b9a247670d22d54 (patch)
treef39522d54dc6a307e2d1cca6ac30a198d02f93b9 /common/content/editor.js
parent95dffaf95a3653e55a34e090b800f9a79e9a8fd5 (diff)
downloadpentadactyl-6d7b94daa6e940fd1f95ead45b9a247670d22d54.tar.gz
Add missing semicolons.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r--common/content/editor.js5
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;
}