优化copyright

This commit is contained in:
java110 2020-03-20 18:07:38 +08:00
parent 7af506b8d1
commit 2df64e6556

View File

@ -20,8 +20,7 @@
const that = this const that = this
window.onresize = () => { window.onresize = () => {
return (() => { return (() => {
window.screenHeight = document.body.clientHeight that.screenHeight = document.body.offsetHeight;
that.screenHeight = window.screenHeight
})() })()
} }
}, },