From 0737baafcafadf4c3a539d1c89be7cc42774c7e8 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 21 Oct 2021 13:03:46 +0530 Subject: [PATCH] don't wait for a metadata change to initialize contextmenu click handlers --- www/common/drive-ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index f516b3d2a..397ed06f7 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4841,6 +4841,7 @@ define([ APP.hideMenu(); }); }; + addContextEvent(); metadataMgr.onChange(function () { var priv = metadataMgr.getPrivateData(); if (priv.plan !== APP.premiumPlan) {