mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:11:40 +08:00
Clear the page's min-height when navigating away
This commit is contained in:
parent
1ff2c2f90a
commit
de9b6ff530
@ -271,6 +271,7 @@ export default class IndexPage extends Component {
|
||||
$('body').addClass('index-page');
|
||||
context.onunload = function() {
|
||||
$('body').removeClass('index-page');
|
||||
$('.global-page').css('min-height', '');
|
||||
};
|
||||
|
||||
app.setTitle('');
|
||||
|
Loading…
x
Reference in New Issue
Block a user