Skip to content

Commit

Permalink
Position popups on right edge if they exit screen
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 20, 2011
1 parent 44354e5 commit d90c402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rundeckapp/web-app/js/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var MenuController = Class.create({
var w = menu.getWidth();
var t = page - (pos.left + (w + 16 + cw) );
if (t < 0 && page>w) {
cw = cw - w;
cw +=t;
}
if(Prototype.Browser.IE){
h+=pt[1];
Expand Down

0 comments on commit d90c402

Please sign in to comment.