aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/editor.js')
-rw-r--r--phpBB/adm/style/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/style/editor.js b/phpBB/adm/style/editor.js
index cd4e75f51f..7e3ce1c708 100644
--- a/phpBB/adm/style/editor.js
+++ b/phpBB/adm/style/editor.js
@@ -152,7 +152,7 @@ function insert_text(text, spaces, popup)
var sel_start = textarea.selectionStart;
var sel_end = textarea.selectionEnd;
- mozWrap(textarea, text, '')
+ mozWrap(textarea, text, '');
textarea.selectionStart = sel_start + text.length;
textarea.selectionEnd = sel_end + text.length;
}
@@ -269,7 +269,7 @@ function mozWrap(txtarea, open, close)
}
var s1 = (txtarea.value).substring(0,selStart);
- var s2 = (txtarea.value).substring(selStart, selEnd)
+ var s2 = (txtarea.value).substring(selStart, selEnd);
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;