Skip to content

Commit

Permalink
fix add the omitted param (Reactive-Extensions#1391)
Browse files Browse the repository at this point in the history
* fix add the omitted param

* fix variable error
  • Loading branch information
ManitoYu authored and mattpodwysocki committed Dec 21, 2016
1 parent 43dfebd commit 71edc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/databinding/binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@
return disposable;
},
visible: function (target, context, options) {
return tko.utils.applyBindings(obsOrValue, function (x) {
target.css(x ? '' : 'none');
return tko.utils.applyBindings(options, function (x) {
target.css('display', x ? '' : 'none');
});
}
};
Expand Down

0 comments on commit 71edc4a

Please sign in to comment.