From 4913bf8d38e7dc14c0a3929659848af94ede6c18 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 21 Jul 2023 11:17:26 +0100 Subject: [PATCH] no share button for guests until it only is enabled for urls that work --- static/js/mainMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index 457f168d..5ccd95e2 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -1912,7 +1912,7 @@ pandora.ui.mainMenu = function() { ] }, {}, { id: 'embed', title: Ox._('Embed...') }, - { id: 'share', title: Ox._('Share...') } + { id: 'share', title: Ox._('Share...'), disabled: isGuest } ]} }