Parcourir la source

Update index.html

Fixed wrong function in radio exemple 2: "toggleRadioGroupState" must be "toggleRadioState"
Stein, Peter il y a 12 ans
Parent
commit
d04e43b948
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>