Skip to content

Commit 87557cc

Browse files
committed
Merge pull request #12 from jitowix/master
fix $elem is not defined
2 parents 49f86dd + 0cdc459 commit 87557cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-knob.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ angular.module('ui.knob', [])
5353
});
5454

5555
scope.$watch(attrs.knobOptions, function () {
56-
$elem.trigger('configure',scope.$eval(attrs.knobOptions));
56+
elem.trigger('configure',scope.$eval(attrs.knobOptions));
5757
renderKnob();
5858
}, true);
5959

0 commit comments

Comments
 (0)