Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Commit

Permalink
Took out global binding for right keyboard shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Wagner committed Sep 10, 2014
1 parent 2cdae3c commit f7f95f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(document).ready(function(){
scrollSpeed = 300;


Mousetrap.bindGlobal('right', function() {
Mousetrap.bind('right', function() {
screenRight = $(document).scrollLeft();
$("html, body").animate({scrollLeft: (screenRight + colWidth)}, scrollSpeed);
});
Expand Down

0 comments on commit f7f95f6

Please sign in to comment.