Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #32528 from KevinGrandon/bug_1202543_browser_overf…
Browse files Browse the repository at this point in the history
…low_cancel

Bug 1202543 - [Browser] Add wrapping span around last button to fix background
  • Loading branch information
KevinGrandon committed Oct 18, 2015
2 parents 9257f9c + 892dead commit f4aebf0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/system/js/context_menu_view.js
Expand Up @@ -124,7 +124,10 @@
this.elements.list.appendChild(action);
}, this);

this.elements.list.appendChild(this.elements.cancel);
var lastButtonWrapper = document.createElement('span');
lastButtonWrapper.className = 'last-button-container';
this.elements.list.appendChild(lastButtonWrapper);
lastButtonWrapper.appendChild(this.elements.cancel);
};

ContextMenuView.prototype.focus = function() {
Expand Down

0 comments on commit f4aebf0

Please sign in to comment.