Sfoglia il codice sorgente

Update bootstrap-switch.js

remove the second
 
            if (textLabel) {
              $label.html('' + textLabel + '');
            }
Stein, Peter 11 anni fa
parent
commit
e193c8294a
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      static/js/bootstrap-switch.js

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

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