summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-29 23:33:58 +0800
committerWu Cheng-Han2016-10-29 23:33:58 +0800
commita8bce53c476e7ddab8fccfd0cacd1bc340229a6e (patch)
tree53a5c0d1b1f04c210f35b8de78ca09856cd3fb6a /public/js
parent3d6baa47ac938ae0471e2067d8a14612a1d3448f (diff)
Fix viewAjaxCallback not able to be assigned
Diffstat (limited to 'public/js')
-rw-r--r--public/js/extra.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index da8ef175..44a39052 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -205,6 +205,7 @@ function parseMeta(md, edit, view, toc, tocAffix) {
}
var viewAjaxCallback = null;
+window.viewAjaxCallback = viewAjaxCallback;
//regex for extra tags
var spaceregex = /\s*/;