Преглед на файлове

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>