diff options
author | Wu Cheng-Han | 2016-10-29 23:33:58 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-29 23:33:58 +0800 |
commit | a8bce53c476e7ddab8fccfd0cacd1bc340229a6e (patch) | |
tree | 53a5c0d1b1f04c210f35b8de78ca09856cd3fb6a | |
parent | 3d6baa47ac938ae0471e2067d8a14612a1d3448f (diff) |
Fix viewAjaxCallback not able to be assigned
-rw-r--r-- | public/js/extra.js | 1 |
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*/; |