Implement basic compatibility with SeaMonkey, see #14

Este commit está contenido en:
JustOff
2018-09-18 17:35:51 +03:00
padre 9948d940fb
commit 8b2849de6e
Se han modificado 5 ficheros con 19 adiciones y 1 borrados

7
bootstrap.js vendido
Ver fichero

@@ -128,7 +128,12 @@ let menuitem = {
}
m.style.listStyleImage = 'url("chrome://ca-archive/skin/button.png")';
let menu = $(doc, "menu_ToolsPopup");
let menu;
if (Services.appinfo.name == "SeaMonkey") {
menu = $(doc, "taskPopup");
} else {
menu = $(doc, "menu_ToolsPopup");
}
menu.insertBefore(m, null);
return m;
}