Commit f9a3791a by doszhang

dos

parent 5835703b
......@@ -139,11 +139,11 @@ function checkInfo() {
function initPage() {
const transformTop = Math.abs(parseFloat(getTranslateDistance()));
// $('.top').css('top', transformTop + 'px');
// $('.bottom').css({
// top: 'auto',
// bottom: transformTop + 'px'
// });
$('.top').css('top', transformTop + 'px');
$('.bottom').css({
top: 'auto',
bottom: transformTop + 'px'
});
const displacement = parseFloat(getTranslateDistance());
if (displacement > 0) {
......
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