mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	tested local keyboard handling...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									1e8799042a
								
							
						
					
					
						commit
						ba76402c35
					
				@ -370,7 +370,8 @@ var KB = {
 | 
			
		||||
	'*':{
 | 
			
		||||
		F5: function(){ window.location.reload() },
 | 
			
		||||
	},
 | 
			
		||||
	'.browse:focus':{
 | 
			
		||||
	//'.browse:focus':{
 | 
			
		||||
	'.browse':{
 | 
			
		||||
		Up: prev,
 | 
			
		||||
		Backspace: 'Up',
 | 
			
		||||
		Down: next,
 | 
			
		||||
@ -387,7 +388,8 @@ requirejs(['../lib/keyboard'], function(m){
 | 
			
		||||
	keyboard = m
 | 
			
		||||
 | 
			
		||||
	// setup base keyboard for devel, in case something breaks...
 | 
			
		||||
	$(document)
 | 
			
		||||
	//$(document)
 | 
			
		||||
	$('.browse')
 | 
			
		||||
		.keydown(
 | 
			
		||||
			keyboard.makeKeyboardHandler(
 | 
			
		||||
				KB,
 | 
			
		||||
@ -467,3 +469,4 @@ $(function(){
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
<!-- vim:set ts=4 sw=4 : -->
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user