소스 검색

Update bootstrap-switch.js

Change

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

to

$label.html('' + textLabel + '');
Stein, Peter 11 년 전
부모
커밋
fa01cb560e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);