浏览代码

Merge pull request #38 from nostalgiaz/master

update
Stein, Peter 11 年之前
父节点
当前提交
9e8c3c3a89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      static/js/bootstrap-switch.js

+ 1 - 1
static/js/bootstrap-switch.js

@@ -320,7 +320,7 @@
         var $label = $element.find("label");
         $.each(['switch-mini', 'switch-small', 'switch-large'], function (i, el) {
           if (el !== value) {
-            $switchLeft.removeClass(el)
+            $switchLeft.removeClass(el);
             $switchRight.removeClass(el);
             $label.removeClass(el);
           } else {