Commit 7af89d20 authored by Michal Čihař's avatar Michal Čihař

Declare variables

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent cf794dd6
......@@ -22,7 +22,7 @@ jQuery.fn.extend({
if (document.selection) {
// For browsers like Internet Explorer
this.focus();
sel = document.selection.createRange();
var sel = document.selection.createRange();
sel.text = myValue;
this.focus();
} else if (this.selectionStart || this.selectionStart == '0') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment