don't do prev/next on textarea
This commit is contained in:
		
							parent
							
								
									ec7f63ee1f
								
							
						
					
					
						commit
						05f0db73ff
					
				| @ -75,7 +75,7 @@ $(document).ready(function() { | |||||||
| 
 | 
 | ||||||
| 	/** setup arrow key bindings **/ | 	/** setup arrow key bindings **/ | ||||||
|     $(document).keyup(function(e) { |     $(document).keyup(function(e) { | ||||||
|         if($(e.target).is('input', 'textarea')){ return; } |         if($(e.target).is('input,textarea')){ return; } | ||||||
|         if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) { return; } |         if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) { return; } | ||||||
|         if (e.keyCode == 37 && $("[rel='previous']").length) { |         if (e.keyCode == 37 && $("[rel='previous']").length) { | ||||||
|             window.location.href = $("[rel='previous']").attr("href"); |             window.location.href = $("[rel='previous']").attr("href"); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user