소스 검색

fixed broken toggle action in case of radio inputs #312

LostCrew 11 년 전
부모
커밋
3003ad76d1
3개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      dist/js/bootstrap-switch.js
  2. 0 0
      dist/js/bootstrap-switch.min.js
  3. 0 1
      src/coffee/bootstrap-switch.coffee

+ 0 - 1
dist/js/bootstrap-switch.js

@@ -86,7 +86,6 @@
           "class": "" + this.options.baseClass + "-handle-off " + this.options.baseClass + "-" + this.options.offColor
         });
         this.$label = $("<label>", {
-          "for": this.$element.attr("id"),
           html: this.options.labelText,
           "class": "" + this.options.baseClass + "-label"
         });

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/bootstrap-switch.min.js


+ 0 - 1
src/coffee/bootstrap-switch.coffee

@@ -40,7 +40,6 @@ do ($ = window.jQuery, window) ->
         html: @options.offText,
         class: "#{@options.baseClass}-handle-off #{@options.baseClass}-#{@options.offColor}"
       @$label = $ "<label>",
-        for: @$element.attr "id"
         html: @options.labelText
         class: "#{@options.baseClass}-label"
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.