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

View file

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