Commit 651e11cc authored by Niels Holt's avatar Niels Holt

Right-menu default open

parent 950b759d
......@@ -469,12 +469,15 @@
mapStore.layers.layerControls.map.controlBox.toggle();
});
//Toggle right-menu
topMenu.rightMenu.on('click', function(){
function rightMenuClick(){
if (mainMap && mainMap.legendControl)
mainMap.legendControl.toggle();
}
rightMenuClick();
});
//Toggle right-menu
topMenu.rightMenu.on('click', rightMenuClick);
});
......
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