added click/doubleclick for mobile (bOhEme request)
This commit is contained in:
parent
781300522b
commit
47da8dfd35
2 changed files with 16 additions and 0 deletions
|
|
@ -295,6 +295,12 @@ class @Sahli
|
|||
dcol.width amt
|
||||
|
||||
@loadkeys = ->
|
||||
$(document).on('dblclick', (ev) =>
|
||||
@nextpic()
|
||||
)
|
||||
$(document).on('click', (ev) =>
|
||||
@setscroll()
|
||||
)
|
||||
$(document).on('keydown', (ev) =>
|
||||
switch ev.which
|
||||
when @keycode ' '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue