Commit 77eedeb9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

menu contains css selector

parent bb23c077
......@@ -30,7 +30,7 @@ function ContextMenu(params) {
var self = this;
var element = self.getElement();
element.className = "dropdown-menu";
element.className += " dropdown-menu";
element.setAttribute("role", "menu");
$(element).hide();
......
......@@ -75,7 +75,7 @@ Header.prototype._createHeaderGui = function (guiParams) {
self.getElement().appendChild(link);
if (guiParams.optionsMenu) {
var optionsElement = Functions.createElement({type: "ul"});
var optionsElement = Functions.createElement({type: "ul", className: "minerva-options-menu"});
document.body.appendChild(optionsElement);
self._optionsMenu = new OptionsMenu({
customMap: self.getMap(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment