mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 15:14:33 +08:00
Fix hound and add emoji in title [SCI-7027]
This commit is contained in:
parent
ac7c873385
commit
4fb3f7ff3d
2 changed files with 8 additions and 4 deletions
|
@ -38,10 +38,14 @@
|
|||
}
|
||||
|
||||
function expirationInTime() {
|
||||
var timeString;
|
||||
if (expireIn > 0) {
|
||||
document.title = newTimerStr(expireIn) + ' ' + originalTitle;
|
||||
$('.expiring').text(I18n.t('devise.sessions.expire_modal.session_end_in.header',
|
||||
{ time: newTimerStr(expireIn) }));
|
||||
timeString = newTimerStr(expireIn);
|
||||
document.title = timeString + ' ' + String.fromCodePoint(0x1F62A) + ' ' + originalTitle;
|
||||
$('.expiring').text(
|
||||
I18n.t('devise.sessions.expire_modal.session_end_in.header',
|
||||
{ time: timeString })
|
||||
);
|
||||
expireIn -= 1;
|
||||
if (!$('#session-expire').hasClass('in')) {
|
||||
$('#session-expire').modal().off('hide.bs.modal').on('hide.bs.modal', function() {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
.session-modal {
|
||||
.modal-body {
|
||||
padding-bottom: 0px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
|
Loading…
Add table
Reference in a new issue