mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
fixes themes path issues, moved vendor libraries
This commit is contained in:
22
resources/www/admin/js/jquery.kb-event.js
Normal file
22
resources/www/admin/js/jquery.kb-event.js
Normal file
@@ -0,0 +1,22 @@
|
||||
function is_ctrl_key(event) {
|
||||
if (event.altKey)
|
||||
return true;
|
||||
if (event.ctrlKey)
|
||||
return true;
|
||||
if (event.metaKey) // apple key opera
|
||||
return true;
|
||||
if (event.keyCode == '17') // apple key opera
|
||||
return true;
|
||||
if (event.keyCode == '224') // apple key mozilla
|
||||
return true;
|
||||
if (event.keyCode == '91') // apple key safari
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function is_shift_key(event) {
|
||||
if (event.shiftKey)
|
||||
return true;
|
||||
return false;
|
||||
}
|
Reference in New Issue
Block a user