Fix error
This commit is contained in:
parent
ebb5c473f6
commit
3337dbbdcd
|
@ -100,8 +100,8 @@ function set_range(start, end, element) {
|
||||||
|
|
||||||
$.fn.selectRange = function (start, end) {
|
$.fn.selectRange = function (start, end) {
|
||||||
var e = document.getElementById($(this).attr('id'));
|
var e = document.getElementById($(this).attr('id'));
|
||||||
if (!e)
|
if (!e) {
|
||||||
else if (e.setSelectionRange) {
|
} else if (e.setSelectionRange) {
|
||||||
e.focus();
|
e.focus();
|
||||||
e.setSelectionRange(start, end);
|
e.setSelectionRange(start, end);
|
||||||
} /* WebKit */
|
} /* WebKit */
|
||||||
|
|
Reference in New Issue
Block a user