fix:修复无法编辑文章的BUG

pull/358/head
lifei6671 2018-08-23 18:33:13 +08:00
parent 100db87c6d
commit f953710578
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ $(function () {
/**
* 30s
*/
if(window.book.auto_save){
if(window.book && window.book.auto_save){
setTimeout(function () {
setInterval(function () {
var $then = $("#markdown-save");