set usage tips relative to bottom of screen, not top

pull/1/head
ansuz 2017-06-29 17:25:06 +02:00
parent 0b9d7d6c0b
commit b037cfbfdb
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ define([
var $loadingTip = $('<div>', {'id': 'loadingTip'});
$('<span>', {'class': 'tips'}).text(getRandomTip()).appendTo($loadingTip);
$loadingTip.css({
'top': $('body').height()/2 + $container.height()/2 + 20 + 'px'
'bottom': $('body').height()/2 - $container.height()/2 + 20 + 'px'
});
$('body').append($loadingTip);
}