mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Clear the page's min-height when navigating away
This commit is contained in:
@@ -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('');
|
||||
|
Reference in New Issue
Block a user