forked from 0x2620/oxjs
IE8 fixes
This commit is contained in:
parent
12dcdf13fc
commit
aa8f4133be
5 changed files with 11 additions and 10 deletions
|
|
@ -680,7 +680,8 @@ Ox.Input = function(options, self) {
|
|||
} else {
|
||||
end = isArray ? start[1] : (end ? end : start);
|
||||
start = isArray ? start[0] : start;
|
||||
self.$input[0].setSelectionRange(start, end);
|
||||
//IE8 does not have setSelectionRange
|
||||
self.$input[0].setSelectionRange && self.$input[0].setSelectionRange(start, end);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue