From 9d4904bf7514e9d2d009ca70976c5340baa62f7a Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 1 Jul 2025 11:56:15 +0200 Subject: [PATCH] Hide Donate button for premium users --- www/common/common-ui-elements.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 002b283ef..d47c44b56 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1500,6 +1500,7 @@ define([ var urls = common.getMetadataMgr().getPrivateData().accounts; var makeDonateButton = function () { + if (plan) { return; } var $a = $('', { 'class': 'cp-limit-upgrade btn btn-primary', href: urls.donateURL,