Fix viewAjaxCallback not able to be assigned

This commit is contained in:
Wu Cheng-Han 2016-10-29 23:33:58 +08:00
parent 3d6baa47ac
commit a8bce53c47
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ function parseMeta(md, edit, view, toc, tocAffix) {
}
var viewAjaxCallback = null;
window.viewAjaxCallback = viewAjaxCallback;
//regex for extra tags
var spaceregex = /\s*/;