From e03d1652bc868a47199414bc76cad8b6d21602cc Mon Sep 17 00:00:00 2001 From: nfMalde Date: Tue, 11 Nov 2014 21:57:05 +0100 Subject: [PATCH] Fixed bug with "showClose" on init --- src/bootstrap-wizard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap-wizard.js b/src/bootstrap-wizard.js index ec7eed0..376afa7 100644 --- a/src/bootstrap-wizard.js +++ b/src/bootstrap-wizard.js @@ -703,6 +703,7 @@ this.cancelButton.hide(); } if (this.args.showClose) { this.closeButton.show(); } + else this.closeButton.hide(); this.modal.modal('show'); return this;