浏览代码

Fix typos

nghuuphuoc 12 年之前
父节点
当前提交
d32019a77d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      dist/js/bootstrapValidator.js
  2. 1 1
      src/js/bootstrapValidator.js

+ 1 - 1
dist/js/bootstrapValidator.js

@@ -14,7 +14,7 @@
         this.options = $.extend({}, BootstrapValidator.DEFAULT_OPTIONS, options);
 
         if ('disabled' == this.options.live) {
-            // The submit buttons have to enabled if the live validating is disabled
+            // Don't disable the submit buttons if the live validating is disabled
             this.options.submitButtons = null;
         }
 

+ 1 - 1
src/js/bootstrapValidator.js

@@ -14,7 +14,7 @@
         this.options = $.extend({}, BootstrapValidator.DEFAULT_OPTIONS, options);
 
         if ('disabled' == this.options.live) {
-            // The submit buttons have to enabled if the live validating is disabled
+            // Don't disable the submit buttons if the live validating is disabled
             this.options.submitButtons = null;
         }