Skip to content

Commit

Permalink
Changed ruleValue assignment in updateRuleOperator()
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Charmułowicz committed Oct 30, 2017
1 parent 93a3d56 commit 7096ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ QueryBuilder.prototype.updateRuleFilter = function(rule, previousFilter) {
*/
QueryBuilder.prototype.updateRuleOperator = function(rule, previousOperator) {
var $valueContainer = rule.$el.find(QueryBuilder.selectors.value_container);
var ruleValue = rule.__.value;
var ruleValue = rule.value;

if (!rule.operator || rule.operator.nb_inputs === 0) {
$valueContainer.hide();
Expand Down

0 comments on commit 7096ac4

Please sign in to comment.