watcher_links.

pull/232/head
Nils Kenneweg 11 years ago
parent baf72c5fee
commit 539457cb59
  1. 7
      app/assets/javascripts/modal.js

@ -33,6 +33,13 @@ var ModalHelper = (function() {
});
// do not close when element is clicked
modalDiv.click(function(e) {
jQuery(e.target).trigger('click.rails');
if (e.target.className.indexOf("watcher_link") > -1) {
e.preventDefault();
}
e.stopPropagation();
});
ModalHelper.prototype.done = true;

Loading…
Cancel
Save