Merge pull request #77 from lapo-luchini/fix_modal

Remove race condition waiting for proper event instead of fixed time
This commit is contained in:
Isaac Bythewood
2014-12-09 18:59:09 -05:00

View File

@@ -48,9 +48,9 @@ $(window).load(function() {
function dismissModal(modal) {
modal.modal('hide');
setTimeout(function() {
modal.on('hidden.bs.modal', function() {
modal.remove();
}, 200);
});
}
// End Helper Functions