Fix button not updating when generating a BAR url
This commit is contained in:
parent
1bf48a5a8c
commit
a3b3a9e4fb
@ -1383,7 +1383,7 @@ define([
|
|||||||
embed: Util.isChecked($link.find('#cp-share-embed'))
|
embed: Util.isChecked($link.find('#cp-share-embed'))
|
||||||
}));
|
}));
|
||||||
// Hide or show the burn after reading alert
|
// 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();
|
$('.cp-alertify-bar-selected').show();
|
||||||
// Show burn after reading button
|
// Show burn after reading button
|
||||||
$('.alertify').find('.cp-bar').show();
|
$('.alertify').find('.cp-bar').show();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user