From c1e836360f024d131cdf66bb85d0f2fdde7635f4 Mon Sep 17 00:00:00 2001 From: Daniel Kvist Date: Thu, 22 Oct 2015 22:14:09 +0200 Subject: [PATCH] Fix #81 to activate close button in the modal footer --- .../src/main/webapp/js/goatApp/view/UserAndInfoView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgoat-container/src/main/webapp/js/goatApp/view/UserAndInfoView.js b/webgoat-container/src/main/webapp/js/goatApp/view/UserAndInfoView.js index b6ee51c86..b28d6cc6f 100644 --- a/webgoat-container/src/main/webapp/js/goatApp/view/UserAndInfoView.js +++ b/webgoat-container/src/main/webapp/js/goatApp/view/UserAndInfoView.js @@ -35,7 +35,7 @@ function($, showAboutModal: function() { $('#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); }); }