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) {
|
||||
var e = document.getElementById($(this).attr('id'));
|
||||
if (!e)
|
||||
else if (e.setSelectionRange) {
|
||||
if (!e) {
|
||||
} else if (e.setSelectionRange) {
|
||||
e.focus();
|
||||
e.setSelectionRange(start, end);
|
||||
} /* WebKit */
|
||||
|
|
Reference in New Issue
Block a user