Browse Source

#2042 add delegated events to nag (stupid nag)

pull/2053/head
jlukic 9 years ago
parent
commit
e2593c98af
1 changed files with 1 additions and 3 deletions
  1. 4
      src/definitions/modules/nag.js

4
src/definitions/modules/nag.js

@ -76,11 +76,9 @@ $.fn.nag = function(parameters) {
module.verbose('Initializing element');
$module
.on('click' + eventNamespace, selector.close, module.dismiss)
.data(moduleNamespace, module)
;
$close
.on('click' + eventNamespace, module.dismiss)
;
if(settings.detachable && $module.parent()[0] !== $context[0]) {
$module

Loading…
Cancel
Save