Merge pull request #115 from span/close-button

Fix #81 to activate close button in the modal footer
This commit is contained in:
Doug Morato 2015-10-22 16:32:32 -04:00
commit 36aebbe68c

View File

@ -35,7 +35,7 @@ function($,
showAboutModal: function() { showAboutModal: function() {
$('#about-modal').show(400); $('#about-modal').show(400);
$('#about-modal div.modal-header button.close').unbind('click').on('click', function() { $('#about-modal div.modal-header button.close, #about-modal div.modal-footer button').unbind('click').on('click', function() {
$('#about-modal').hide(200); $('#about-modal').hide(200);
}); });
} }