Преглед изворни кода

Update bootstrap-switch.js

remove the second
 
            if (textLabel) {
              $label.html('' + textLabel + '');
            }
Stein, Peter пре 11 година
родитељ
комит
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 + '');