Jelajahi Sumber

Update bootstrap-switch.js

Change

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

to

$label.html('' + textLabel + '');
Stein, Peter 11 tahun lalu
induk
melakukan
fa01cb560e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);