Browse Source

Close button position fix

The position of cross used to close the modal is down its natural
position (floating elements need to be positioned before contents).
Indri Muska 11 years ago
parent
commit
fb190d5bd5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      js/bootstrap-dialog.js
  2. 1 1
      js/bootstrap-dialog.min.js

+ 1 - 1
js/bootstrap-dialog.js

@@ -404,7 +404,7 @@
             $container.append(this.createTitleContent());
 
             // Close button
-            $container.append(this.createCloseButton());
+            $container.prepend(this.createCloseButton());
 
             return $container;
         },

File diff suppressed because it is too large
+ 1 - 1
js/bootstrap-dialog.min.js