ソースを参照

Fixed a bug of close button

Dante 12 年 前
コミット
647d3afe8c

+ 1 - 3
examples/assets/bootstrap-dialog/js/bootstrap-dialog.js

@@ -275,9 +275,7 @@ var BootstrapDialog = null;
             $container.append(this.createTitleContent());
 
             // Close button
-            if (this.isClosable()) {
-                $container.append(this.createCloseButton());
-            }
+            $container.append(this.createCloseButton());
 
             return $container;
         },

+ 1 - 3
js/bootstrap-dialog.js

@@ -275,9 +275,7 @@ var BootstrapDialog = null;
             $container.append(this.createTitleContent());
 
             // Close button
-            if (this.isClosable()) {
-                $container.append(this.createCloseButton());
-            }
+            $container.append(this.createCloseButton());
 
             return $container;
         },