mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-10-31 00:01:16 +01:00 
			
		
		
		
	IE9 doesn't need special IE treatment and works much better with the W3C sendkeys methods
This commit is contained in:
		
							parent
							
								
									d122e28232
								
							
						
					
					
						commit
						e385e78310
					
				| @ -30,8 +30,8 @@ bililiteRange = function(el, debug){ | |||||||
| 	var ret; | 	var ret; | ||||||
| 	if (debug){ | 	if (debug){ | ||||||
| 		ret = new NothingRange(); // Easier to force it to use the no-selection type than to try to find an old browser
 | 		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){ | 	}else if (document.selection && !document.addEventListener){ | ||||||
| 		// Internet Explorer
 | 		// Internet Explorer 8 and lower
 | ||||||
| 		ret = new IERange(); | 		ret = new IERange(); | ||||||
| 	}else if (window.getSelection && el.setSelectionRange){ | 	}else if (window.getSelection && el.setSelectionRange){ | ||||||
| 		// Standards. Element is an input or textarea 
 | 		// Standards. Element is an input or textarea 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user