showMap flag was removing the wrong item from the menu

pull/8/head
Paul Hayes 2019-09-27 15:57:20 +01:00
rodzic e252b134c6
commit 4ebf68403d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -222,7 +222,7 @@ var template = [
// ]}
];
if (!showMap) { template[0].submenu.splice(6,1); }
if (!showMap) { template[0].submenu.splice(8,1); }
if (!editable) {
template[0].submenu.splice(3,1);