From 11852d6daa724b966edafdaa2210a300c9dca02c Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Wed, 30 Aug 2017 22:20:32 +0100 Subject: [PATCH] #10: Slight tweak to Bootbox to correct the order of the close button and modal title in BS4 --- resources/assets/js/002-bootbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/002-bootbox.js b/resources/assets/js/002-bootbox.js index 2734f4d..c24b3a0 100644 --- a/resources/assets/js/002-bootbox.js +++ b/resources/assets/js/002-bootbox.js @@ -38,7 +38,7 @@ "", header: "", footer: "", @@ -621,7 +621,7 @@ var closeButton = $(templates.closeButton); if (options.title) { - dialog.find(".modal-header").prepend(closeButton); + dialog.find(".modal-header").append(closeButton); } else { closeButton.css("margin-top", "-10px").prependTo(body); }