Fix spacebar pause keybinding
This commit is contained in:
parent
e60e00f8f9
commit
0f67a2312a
3 changed files with 21 additions and 1 deletions
|
@ -208,7 +208,7 @@ angular.module('JamStash')
|
|||
} else if (unicode == 37 || unicode == 177) { // back arrow
|
||||
player.previousTrack();
|
||||
} else if (unicode == 32 || unicode == 179 || unicode.toString() == '0179') { // spacebar
|
||||
player.playPauseSong();
|
||||
player.pause();
|
||||
return false;
|
||||
} else if (unicode == 36 && $('#tabLibrary').is(':visible')) { // home
|
||||
$('#left-component').stop().scrollTo('#MusicFolders', 400);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue