diff options
author | Yukai Huang | 2016-10-09 21:14:18 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-09 21:14:18 +0800 |
commit | 8a254ea4f109db99bdc172ba2717997c4d5dd490 (patch) | |
tree | d32cb7f491ca323c15b992450c570f0f78174fe7 /public/js | |
parent | 53b5cbb89325f4acb239afb188c4bbabe1ea8189 (diff) |
Fix scrollToTop/Buttom in preview
workaround
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index db76b745..7be03086 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -71,6 +71,7 @@ var clearMap = syncScroll.clearMap; var syncScrollToEdit = syncScroll.syncScrollToEdit; var syncScrollToView = syncScroll.syncScrollToView; +require('./pretty'); var extra = require('./extra'); var md = extra.md; var createtime = extra.createtime; @@ -91,7 +92,6 @@ var scrollToHash = extra.scrollToHash; var history = require('./history'); var writeHistory = history.writeHistory; -var pretty = require('./pretty'); var renderer = require('./render'); var preventXSS = renderer.preventXSS; |