소스 검색

Update index.html

Fixed wrong function in radio exemple 2: "toggleRadioGroupState" must be "toggleRadioState"
Stein, Peter 12 년 전
부모
커밋
d04e43b948
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

@@ -431,7 +431,7 @@ $(document).ready(function() {
 <script>
 $(document).ready(function() {
     $('.radio2').on('switch-change', function () {
-        $('.radio2').bootstrapSwitch('toggleRadioGroupState');
+        $('.radio2').bootstrapSwitch('toggleRadioState');
     });
 });
 &lt;/script></pre>