提交 6ba4282f 编写于 作者: B Benjamin Pasero

fix build

上级 faffa553
......@@ -15,7 +15,7 @@ function styleBody(body) {
};
function getTarget() {
return document.getElementById('_target');;
return document.getElementById('_target');
};
const ipcRenderer = require('electron').ipcRenderer;
......@@ -130,7 +130,7 @@ document.addEventListener("DOMContentLoaded", function (event) {
// workaround for https://github.com/Microsoft/vscode/issues/12865
// check new scrollTop and reset if neccessary
setTimeout(() => {
setTimeout(function () {
if (scrollTop !== newFrame.contentDocument.body.scrollTop) {
newFrame.contentDocument.body.scrollTop = scrollTop;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册