Fix button not updating when generating a BAR url

pull/1/head
yflory 5 years ago
parent 1bf48a5a8c
commit a3b3a9e4fb

@ -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();

Loading…
Cancel
Save