Skip to content

Commit

Permalink
fix some errors in our js
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann-S committed Jun 16, 2017
1 parent 11a5ca8 commit 6ed8a73
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions js/src/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,10 @@ const Dropdown = (($) => {
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND
}
else {
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND
}
}

return placement
}

Expand Down

0 comments on commit 6ed8a73

Please sign in to comment.