|
@@ -342,6 +342,8 @@ do ($ = window.jQuery, window) ->
|
|
@$label.trigger "mouseup.bootstrapSwitch"
|
|
@$label.trigger "mouseup.bootstrapSwitch"
|
|
|
|
|
|
"click.bootstrapSwitch": (e) =>
|
|
"click.bootstrapSwitch": (e) =>
|
|
|
|
+ e.preventDefault()
|
|
|
|
+
|
|
@toggleState()
|
|
@toggleState()
|
|
@$element.trigger "focus.bootstrapSwitch"
|
|
@$element.trigger "focus.bootstrapSwitch"
|
|
|
|
|