Explorar o código

Update index.html

Fixed wrong function in radio exemple 2: "toggleRadioGroupState" must be "toggleRadioState"
Stein, Peter %!s(int64=12) %!d(string=hai) anos
pai
achega
d04e43b948
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>