Skip to content

Commit

Permalink
Walrus.js: Fix nolink watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbeauvais committed Jun 10, 2014
1 parent d353853 commit 32e667d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/www/assets/javascript/Walrus.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var Walrus = {};
};

Walrus.nolinkInit = function () {
$('body').find('[data-nolink]').on('click.WALRUS-nolink', function (event) {
$('body').on('click.WALRUS-nolink', '[data-nolink]', function (event) {
if (Walrus.isntExternal(atob($(this).data('nolink')))) {
Walrus.ajaxNavigation(event, atob($(this).data('nolink')));
event.stopPropagation();
Expand Down

0 comments on commit 32e667d

Please sign in to comment.