Skip to content

Commit

Permalink
Tighten code
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 18, 2012
1 parent 800b1ff commit c81a77b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions public/js/chrome/navigation.js
Expand Up @@ -13,12 +13,10 @@ var $startingpoint = $('#startingpoint').click(function (event) {
return false;
});

function False(event) {
$('.disabled').on('click mousedown mouseup', function (event) {
event.stopImmediatePropagation();
return false;
};

$('.disabled').on('click mousedown mouseup', False);
});

$('#loginbtn').click(function () {
analytics.login();
Expand Down

0 comments on commit c81a77b

Please sign in to comment.