mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +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
@ -264,7 +264,7 @@ function popDir(){
|
||||
// 'next'
|
||||
// 'last'
|
||||
// 'none' -- deselect
|
||||
// '!' -- return selected element if it exists...
|
||||
// '!' -- return selected element if it exists...
|
||||
// <number> -- select by sequence number...
|
||||
// <elem> -- select a specific element...
|
||||
function select(elem, browser){
|
||||
@ -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