keyboard shortcut fix

This commit is contained in:
Trevor Squillario 2014-04-16 08:21:43 -04:00
parent b6d80caee3
commit 45042656f2
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ function AppCtrl($scope, $rootScope, $document, $window, $location, $cookieStore
});
$scope.scrollToIndex = function (e) {
var source = e.target.id;
if (source != 'Search' && source != 'Source' && source != 'Description' && source != 'ChatMsg' && source != 'AutoPlaylists') {
if (e.target.tagName.toUpperCase() != 'INPUT') {
var unicode = e.charCode ? e.charCode : e.keyCode;
if (globals.settings.Debug) { console.log('Keycode Triggered: ' + unicode); }
if (unicode == 49) { // 1