Fix spacebar pause keybinding

This commit is contained in:
Trevor Squillario 2015-01-20 20:52:04 -05:00
parent e60e00f8f9
commit 0f67a2312a
3 changed files with 21 additions and 1 deletions

View file

@ -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);