Browse Source

fixes issue #274 modal hides twice

pull/278/head
jlukic 11 years ago
parent
commit
6077e0fadf
1 changed files with 1 additions and 1 deletions
  1. 2
      src/modules/modal.js

2
src/modules/modal.js

@ -152,7 +152,7 @@ $.fn.modal = function(parameters) {
module.verbose('Approve callback returned false cancelling hide');
}
}
if( $(this).is(selector.deny) ) {
else if( $(this).is(selector.deny) ) {
if($.proxy(settings.onDeny, element)()) {
module.hide();
}

Loading…
Cancel
Save