Browse Source

Update index.html

Fixed wrong function in radio exemple 2: "toggleRadioGroupState" must be "toggleRadioState"
Stein, Peter 12 years ago
parent
commit
d04e43b948
1 changed files with 1 additions and 1 deletions
  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>