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

Commit

Permalink
fix(macAutocomplete): Fixed ng-class getting set to null string when …
Browse files Browse the repository at this point in the history
…no class is provided
  • Loading branch information
adrianlee44 committed Nov 9, 2014
1 parent ed6292b commit 013111f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/autocomplete.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ angular.module("Mac").directive "macAutocomplete", [

menuEl = angular.element(document.createElement("mac-menu"))
menuEl.attr
"ng-class": attrs.macMenuClass or null
"ng-class": attrs.macMenuClass or ""
"mac-menu-items": "items"
"mac-menu-select": "select(index)"
"mac-menu-index": "index"
Expand Down

0 comments on commit 013111f

Please sign in to comment.