Commits

Benjamin Wong  committed c04b847

AUI-1362 adding check to remove the arrow-bottom class if needed

  • Participants
  • Parent commits e4e6567

Comments (0)

Files changed (1)

File auiplugin/src/main/resources/js/atlassian/inline-dialog.js

                             //Position the popup using the left and right parameters
                             popup.css(positions.popupCss);
                             
-                            //flip the arrow with a class if we need to
+                            //flip the arrow with a class if we need to, otherwise make sure it's pointing up
                             if(positions.displayAbove && !arrow.hasClass("aui-bottom-arrow")){
                                 arrow.addClass("aui-bottom-arrow")
+                            } else {
+                                arrow.removeClass("aui-bottom-arrow");
                             }
 
                             arrow.css(positions.arrowCss);