From a8bce53c476e7ddab8fccfd0cacd1bc340229a6e Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 29 Oct 2016 23:33:58 +0800 Subject: [PATCH] Fix viewAjaxCallback not able to be assigned --- public/js/extra.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/extra.js b/public/js/extra.js index da8ef1759..44a390522 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*/;