Show users when comments exists but are hidden in rich text
parent
e205ca281b
commit
479077560e
|
@ -43,6 +43,21 @@ body.cp-app-pad {
|
|||
.cp-pad-show { display: none; }
|
||||
}
|
||||
}
|
||||
#cp-app-pad-toc {
|
||||
.cp-pad-show {
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
#cp-app-pad-comments {
|
||||
&.hidden {
|
||||
.cp-pad-show.notif {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
.cp-pad-show {
|
||||
line-height: 0px;
|
||||
}
|
||||
}
|
||||
#cp-app-pad-resize {
|
||||
order: 2;
|
||||
height: 28px;
|
||||
|
|
|
@ -313,7 +313,7 @@ define([
|
|||
Env.localHide = true;
|
||||
if (store) { store.put(key, '1'); }
|
||||
});
|
||||
$(showBtn).click(function () {
|
||||
var $showBtn = $(showBtn).click(function () {
|
||||
Env.$container.removeClass('hidden');
|
||||
Env.localHide = false;
|
||||
if (store) { store.put(key, '0'); }
|
||||
|
@ -639,6 +639,11 @@ define([
|
|||
Env.$container.removeClass('hidden');
|
||||
if (hide) { Env.$container.addClass('hidden'); }
|
||||
|
||||
$showBtn.removeClass('notif');
|
||||
if (show) {
|
||||
$showBtn.addClass('notif');
|
||||
}
|
||||
|
||||
|
||||
Env.$container.show();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue