22d4da90 by Eric Schoffstall

fix #76 for bidirectional publish bypass

1 parent 7938f1ee
...@@ -90,7 +90,7 @@ class Rivets.Binding ...@@ -90,7 +90,7 @@ class Rivets.Binding
90 90
91 Rivets.config.adapter.subscribe model, keypath, @sync 91 Rivets.config.adapter.subscribe model, keypath, @sync
92 92
93 if @isBidirectional() 93 if @isBidirectional() and not @options.bypass
94 bindEvent @el, 'change', @publish 94 bindEvent @el, 'change', @publish
95 95
96 # Unsubscribes from the model and the element. 96 # Unsubscribes from the model and the element.
......