Skip to content

Commit

Permalink
Fix position computation
Browse files Browse the repository at this point in the history
  • Loading branch information
indrimuska committed May 17, 2017
1 parent d656ea4 commit 4a14051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default class Directive implements ng.IDirective {
if (!$scope.view.isOpen || $scope.position || $scope.inline) return;

let element = $element[0],
picker = $scope.picker[0],
picker = $scope.picker.children()[0],
hasClassTop = $scope.picker.hasClass('top'),
hasClassRight = $scope.picker.hasClass('right'),
offset = getOffset($element[0]),
Expand Down

0 comments on commit 4a14051

Please sign in to comment.