Commit 36d65441 by doszhang

dos

parent 1e48cf71
...@@ -135,9 +135,6 @@ function initPage() { ...@@ -135,9 +135,6 @@ function initPage() {
if (displacement > 0) { if (displacement > 0) {
const scale = document.documentElement.clientHeight / $('.page').height(); const scale = document.documentElement.clientHeight / $('.page').height();
$('.page').css({
'transform': 'scale(1,' + scale + ')'
});
$('.wrap-inner').css({ $('.wrap-inner').css({
'transform': 'translate(0%,-50%) scale(1,' + scale + ')' 'transform': 'translate(0%,-50%) scale(1,' + scale + ')'
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment