set usage tips relative to bottom of screen, not top

pull/1/head
ansuz 8 years ago
parent 0b9d7d6c0b
commit b037cfbfdb

@ -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);
}

Loading…
Cancel
Save