app/assets/javascripts/hooch.js in hooch-0.6.6 vs app/assets/javascripts/hooch.js in hooch-0.6.7
- old
+ new
@@ -247,9 +247,11 @@
});
revealer.reveal();
},
reveal: function(){
var sanitized_value = this.$revealer.val();
+ if('true' == sanitized_value){ sanitized_value = true }
+ if('false' == sanitized_value){ sanitized_value = false }
this.$children = [];
var revealer = this;
this.$all_children.each(function(){
var triggers = $(this).data('revealer-triggers');
if(triggers){