mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
fix autosave effect
This commit is contained in:
parent
bd6a6a0e0e
commit
25cc1ff3dc
@ -187,7 +187,11 @@ $(document).ready(function() {
|
||||
cid = o.cid;
|
||||
draftId = o.draftId;
|
||||
idInput.val(cid);
|
||||
autoSave.text('<?php _e('已保存'); ?>' + ' (' + o.time + ')').effect('highlight', 1000);
|
||||
autoSave.text('<?php _e('已保存'); ?>' + ' (' + o.time + ')');
|
||||
|
||||
if (!$(document.body).hasClass('preview')) {
|
||||
autoSave.effect('highlight', 1000);
|
||||
}
|
||||
|
||||
cb && cb();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user