mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
Adding close callback to modal.
This commit is contained in:
parent
3f6feb87aa
commit
fc5a09479d
1 changed files with 5 additions and 2 deletions
7
media/js/vendor/jquery.simplemodal-1.4.js
vendored
7
media/js/vendor/jquery.simplemodal-1.4.js
vendored
|
|
@ -703,8 +703,11 @@
|
|||
s.d.iframe && s.d.iframe.hide().remove();
|
||||
s.d.overlay.remove();
|
||||
|
||||
// reset the dialog object
|
||||
s.d = {};
|
||||
setTimeout(function(){
|
||||
// reset the dialog object
|
||||
s.d = {};
|
||||
$.isFunction(callback) && callback();
|
||||
}, 10);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue