浏览代码

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 年之前
父节点
当前提交
fb190d5bd5
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;
         },

文件差异内容过多而无法显示
+ 1 - 1
js/bootstrap-dialog.min.js