Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
fix(directive): fix call of method without this-binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Burgmer committed Sep 25, 2017
1 parent c2bfdf1 commit c29bee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/w11k-select.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function w11kSelect (w11kSelectConfig: Config,
},
function (newConfig) {
if (angular.isArray(newConfig)) {
w11kSelectHelper.extendDeep.apply(null, [scope.config].concat(newConfig));
w11kSelectHelper.extendDeep.apply(w11kSelectHelper, [scope.config].concat(newConfig));
applyConfig();
} else if (angular.isObject(newConfig)) {
w11kSelectHelper.extendDeep(scope.config, newConfig);
Expand Down

0 comments on commit c29bee9

Please sign in to comment.