mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Remove jquery from ShortcutService.js
This commit is contained in:
parent
22cec2e8c7
commit
2726af2d81
@ -9,7 +9,7 @@
|
|||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
ns.ShortcutService.prototype.init = function() {
|
ns.ShortcutService.prototype.init = function() {
|
||||||
$(document.body).keydown($.proxy(this.onKeyDown_, this));
|
document.body.addEventListener('keydown', this.onKeyDown_.bind(this));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user