Commit 450a661a by doszhang

dos

parent 7aeaf12e
......@@ -148,10 +148,24 @@ function hideIntro() {
function hideRule() {
$('.rule-page').hide();
$('.wrap-inner').css({
height: '100%',
overflowX: 'hidden',
overflowY: 'scroll',
transform: 'translate(0,0)',
top: 0,
})
}
function showRule() {
$('.rule-page').show();
$('.wrap-inner').css({
height: fixHeight + 'px',
overflowX: 'scroll',
overflowY: 'hidden',
transform: 'translate(0,-50%)',
top: '50%'
})
}
function showIntro() {
......
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