Seconds not milliseconds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4440 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8c82107b6e
commit
a3869af95f
@ -6,7 +6,7 @@ var autosavePeriodical;
|
|||||||
function autosave_start_timer() {
|
function autosave_start_timer() {
|
||||||
var form = $('post');
|
var form = $('post');
|
||||||
autosaveLast = form.post_title.value+form.content.value;
|
autosaveLast = form.post_title.value+form.content.value;
|
||||||
autosavePerodical = new PeriodicalExecuter(autosave, <?php echo apply_filters('autosave_interval', '60000'); ?>);
|
autosavePerodical = new PeriodicalExecuter(autosave, <?php echo apply_filters('autosave_interval', '60'); ?>);
|
||||||
}
|
}
|
||||||
addLoadEvent(autosave_start_timer)
|
addLoadEvent(autosave_start_timer)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user