IE9 doesn't need special IE treatment and works much better with the W3C sendkeys methods

pull/1158/merge
Peter 'Pita' Martischka 2012-11-11 18:21:43 -08:00
parent d122e28232
commit e385e78310
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ bililiteRange = function(el, debug){
var ret;
if (debug){
ret = new NothingRange(); // Easier to force it to use the no-selection type than to try to find an old browser
}else if (document.selection){
// Internet Explorer
}else if (document.selection && !document.addEventListener){
// Internet Explorer 8 and lower
ret = new IERange();
}else if (window.getSelection && el.setSelectionRange){
// Standards. Element is an input or textarea