Explorar o código

Update bootstrap-switch.js

Change

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

to

$label.html('' + textLabel + '');
Stein, Peter %!s(int64=11) %!d(string=hai) anos
pai
achega
fa01cb560e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);