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

Commit

Permalink
fix(macAutocomplete): Clear inline style on hide
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlee44 committed Jun 19, 2014
1 parent d07714f commit 33297e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/directives/autocomplete.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ angular.module("Mac").directive "macAutocomplete", [
$menuScope.items = []
$menuScope.index = 0

# Clear menu element inline style
menuEl[0].style.top = ""
menuEl[0].style.left = ""

isMenuAppended = false

element.unbind "blur", clickHandler
Expand Down

0 comments on commit 33297e2

Please sign in to comment.