소스 검색

Removed the icon-prefix

Pasquale Vazzana 11 년 전
부모
커밋
3ad7d60f62
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      static/js/bootstrap-switch.js

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

@@ -75,7 +75,7 @@
               .attr('for', $element.find(inputSelector).attr('id'));
 
             if (icon) {
-              $label.html('<i class="icon icon-' + icon + '"></i>');
+              $label.html('<i class="icon ' + icon + '"></i>');
             }
 
             $div = $element.find(inputSelector).wrap($('<div>')).parent().data('animated', false);