Skip to content

Commit

Permalink
build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Sep 9, 2016
1 parent c8346d6 commit 428b7a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/vee-validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1019,14 +1019,14 @@ var hasFieldDependency = function hasFieldDependency(rules) {
var elScope = getScope(this.el);
if (!elScope) {
callback = this.expression ? function () {
_this.vm.$validator.validate(_this.fieldName, _this.el.value, getScope(_this.el));
_this.vm.$validator.validate(_this.fieldName, _this.el.value, elScope);
} : function () {
_this.handler();
};
} else {
callback = this.expression ? function (scope) {
if (scope === elScope) {
_this.vm.$validator.validate(_this.fieldName, _this.el.value, getScope(_this.el));
_this.vm.$validator.validate(_this.fieldName, _this.el.value, elScope);
}
} : function (scope) {
if (scope === elScope) {
Expand Down
Loading

0 comments on commit 428b7a8

Please sign in to comment.