WTF OPERA???
This commit is contained in:
parent
75f8ae0bd7
commit
0be30318c0
@ -1687,7 +1687,7 @@
|
||||
caretPos = ta.selectionStart;
|
||||
ta.value = ta.value.slice(0, caretPos) + text + ta.value.slice(ta.selectionEnd, ta.value.length);
|
||||
ta.focus();
|
||||
return ta.selectionStart = ta.selectionEnd = caretPos + text.length;
|
||||
return ta.selectionEnd = ta.selectionStart = caretPos + text.length;
|
||||
},
|
||||
refresh: function() {
|
||||
var m, newFile, oldFile, _ref;
|
||||
|
||||
@ -1325,7 +1325,7 @@ qr =
|
||||
ta.value = ta.value.slice(0, caretPos) + text + ta.value.slice(ta.selectionEnd, ta.value.length)
|
||||
ta.focus()
|
||||
#move the caret to the end of the new quote
|
||||
ta.selectionStart = ta.selectionEnd = caretPos + text.length
|
||||
ta.selectionEnd = ta.selectionStart = caretPos + text.length
|
||||
|
||||
refresh: ->
|
||||
$('[name=sub]', qr.el).value = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user