Parcourir la source

Update bootstrap-switch.js

Change

$label.html('<div class="text-label">' + textLabel + '</div>');

to

$label.html('' + textLabel + '');
Stein, Peter il y a 11 ans
Parent
commit
fa01cb560e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      static/js/bootstrap-switch.js

+ 1 - 1
static/js/bootstrap-switch.js

@@ -83,7 +83,7 @@
             }
             
             if (textLabel) {
-              $label.html('<div class="text-label">' + textLabel + '</div>');
+              $label.html('' + textLabel + '');
             }
 
             $div = $element.find(inputSelector).wrap($('<div>')).parent().data('animated', false);