app/assets/javascripts/hooch.js in hooch-0.16.4 vs app/assets/javascripts/hooch.js in hooch-0.16.5

- old
+ new

@@ -189,10 +189,10 @@ this.$modal_content = $($modal_trigger.data('content-target')) this.dismissable = $modal_trigger.data('dismissable') var modal_trigger = this $modal_trigger.on('click', function(){ modal_trigger.instantiate('before') - new hooch.Modal(modal_trigger.$modal_content, this.dismissable) + new hooch.Modal(modal_trigger.$modal_content, modal_trigger.dismissable) modal_trigger.instantiate('after') }) }, instantiate: function(timing){ var instantiate_class_name = 'instantiate-' + timing + '-class'