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

Update bootstrap-switch.js

remove the second
 
            if (textLabel) {
              $label.html('' + textLabel + '');
            }
Stein, Peter преди 12 години
родител
ревизия
e193c8294a
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      static/js/bootstrap-switch.js

+ 0 - 4
static/js/bootstrap-switch.js

@@ -81,10 +81,6 @@
             if (icon) {
               $label.html('<i class="icon ' + icon + '"></i>');
             }
-            
-            if (textLabel) {
-              $label.html('' + textLabel + '');
-            }
 
             if (textLabel) {
               $label.html('' + textLabel + '');