1
0
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:
Toby Zerner
2015-06-16 17:23:14 +09:30
parent be2d0ac682
commit 27b9dbe4c4

View File

@@ -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('');