mirror of
https://github.com/flarum/core.git
synced 2025-07-31 21:50:50 +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');
|
$('body').addClass('index-page');
|
||||||
context.onunload = function() {
|
context.onunload = function() {
|
||||||
$('body').removeClass('index-page');
|
$('body').removeClass('index-page');
|
||||||
|
$('.global-page').css('min-height', '');
|
||||||
};
|
};
|
||||||
|
|
||||||
app.setTitle('');
|
app.setTitle('');
|
||||||
|
Reference in New Issue
Block a user