From a3b3a9e4fbc7cee388385bcdf47ff06b2ad59eab Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 9 Jan 2020 17:47:10 +0100 Subject: [PATCH] Fix button not updating when generating a BAR url --- www/common/common-ui-elements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 1964ed570..415390909 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1383,7 +1383,7 @@ define([ embed: Util.isChecked($link.find('#cp-share-embed')) })); // Hide or show the burn after reading alert - if (Util.isChecked($rights.find('#cp-share-bar'))) { + if (Util.isChecked($rights.find('#cp-share-bar')) && !burnAfterReadingUrl) { $('.cp-alertify-bar-selected').show(); // Show burn after reading button $('.alertify').find('.cp-bar').show();