Fix syncscroll.js and index.js have circular dependency cause Reference Errors
This commit is contained in:
@@ -924,6 +924,8 @@ $(window).on('error', function () {
|
||||
//setNeedRefresh();
|
||||
});
|
||||
|
||||
setupSyncAreas(ui.area.codemirrorScroll, ui.area.view, ui.area.markdown);
|
||||
|
||||
function autoSyncscroll() {
|
||||
if (editorHasFocus()) {
|
||||
syncScrollToView();
|
||||
|
||||
Reference in New Issue
Block a user