Parcourir la source

Update bootstrap-switch.js

remove the second
 
            if (textLabel) {
              $label.html('' + textLabel + '');
            }
Stein, Peter il y a 11 ans
Parent
commit
e193c8294a
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  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 + '');