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) { $scope.scrollToIndex = function (e) {
var source = e.target.id; 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; var unicode = e.charCode ? e.charCode : e.keyCode;
if (globals.settings.Debug) { console.log('Keycode Triggered: ' + unicode); } if (globals.settings.Debug) { console.log('Keycode Triggered: ' + unicode); }
if (unicode == 49) { // 1 if (unicode == 49) { // 1

View file

@ -148,7 +148,7 @@
<ul class="preferences"> <ul class="preferences">
<li>Report Issues - <a href="https://github.com/tsquillario/Jamstash" target="_blank">https://github.com/tsquillario/Jamstash</a></li> <li>Report Issues - <a href="https://github.com/tsquillario/Jamstash" target="_blank">https://github.com/tsquillario/Jamstash</a></li>
<li>Jamstash Chrome App - <a href="https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc" target="_blank">Chrome Web Store</a></li> <li>Jamstash Chrome App - <a href="https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc" target="_blank">Chrome Web Store</a></li>
<li>Beta Site - <a href="http://jamstash.com/beta" target="_blank">http://jamstash.com/beta</a></li> <li>Beta Site - <a href="http://beta.jamstash.com" target="_blank">http://beta.jamstash.com</a></li>
<li><a href="https://twitter.com/JamstashApp" target="_blank">Follow @JamstashApp</a> <li><a href="https://twitter.com/JamstashApp" target="_blank">Follow @JamstashApp</a>
</ul> </ul>
<h3 class="title">Thanks</h3> <h3 class="title">Thanks</h3>