don't wait for a metadata change to initialize contextmenu click handlers

pull/1/head
ansuz 3 years ago
parent 31c5bba8db
commit 0737baafca

@ -4841,6 +4841,7 @@ define([
APP.hideMenu(); APP.hideMenu();
}); }; }); };
addContextEvent();
metadataMgr.onChange(function () { metadataMgr.onChange(function () {
var priv = metadataMgr.getPrivateData(); var priv = metadataMgr.getPrivateData();
if (priv.plan !== APP.premiumPlan) { if (priv.plan !== APP.premiumPlan) {

Loading…
Cancel
Save