Fix non nightly long press menu. Fixes #658

This commit is contained in:
Jonathan Kingston 2017-07-05 13:08:33 -07:00
parent 9fcf822140
commit 315c75f2ac

View file

@ -49,6 +49,7 @@ const IDENTITY_ICONS_STANDARD = [
const PREFS = [ const PREFS = [
[ "privacy.userContext.enabled", true ], [ "privacy.userContext.enabled", true ],
[ "privacy.userContext.longPressBehavior", 2 ],
[ "privacy.userContext.ui.enabled", false ], [ "privacy.userContext.ui.enabled", false ],
[ "privacy.usercontext.about_newtab_segregation.enabled", true ], [ "privacy.usercontext.about_newtab_segregation.enabled", true ],
]; ];
@ -1322,7 +1323,6 @@ ContainerWindow.prototype = {
// CSS must be removed. // CSS must be removed.
detachFrom(this._style, this._window); detachFrom(this._style, this._window);
this._shutdownPlusButtonMenu();
this._shutdownFileMenu(); this._shutdownFileMenu();
this._shutdownAllTabsMenu(); this._shutdownAllTabsMenu();
this._shutdownContextMenu(); this._shutdownContextMenu();