|
@@ -165,7 +165,7 @@ function template_control_richedit_buttons($editor_id)
|
|
|
sSceditorID: \'', $editor_id, '\',
|
|
|
sType: \'post\',
|
|
|
iBoard: ', (empty($context['current_board']) ? 0 : $context['current_board']), ',
|
|
|
- iFreq: ', (empty($modSettings['drafts_autosave_frequency']) ? 60000 : $modSettings['drafts_autosave_frequency'] * 1000), '
|
|
|
+ iFreq: ', $context['drafts_autosave_frequency'], '
|
|
|
});
|
|
|
// ]]></script>';
|
|
|
}
|