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