mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 03:50:16 +00:00 
			
		
		
		
	fixed minor bug with keyboard handler...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									f4748a5924
								
							
						
					
					
						commit
						e0f1d117a5
					
				
							
								
								
									
										1
									
								
								jli.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								jli.js
									
									
									
									
									
								
							| @ -257,6 +257,7 @@ function makeKeyboardHandler(keybindings, unhandled){ | ||||
| 				var key = evt.keyCode | ||||
| 				if(bindings.ignore != null && bindings.ignore.indexOf(key) != -1){ | ||||
| 					// return true
 | ||||
| 					res = res == null ? true : res | ||||
| 					did_handling = true | ||||
| 					continue | ||||
| 				} | ||||
|  | ||||
| @ -12,6 +12,7 @@ var keybindings = { | ||||
| 			116,												//	F5
 | ||||
| 			122,												//	F11
 | ||||
| 			123,												//	F12
 | ||||
| 			8													//	BkSp
 | ||||
| 		], | ||||
| 
 | ||||
| 		// togglable modes and options...
 | ||||
|  | ||||
| @ -29,6 +29,7 @@ var DRAG_FULL_PAGE = true | ||||
| var USE_REAL_PAGE_SIZES = false | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /*********************************************************************/ | ||||
| // toggles .dragging CSS class on the viewer while dragging is in 
 | ||||
| // progress.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user