set usage tips relative to bottom of screen, not top
This commit is contained in:
parent
0b9d7d6c0b
commit
b037cfbfdb
@ -203,7 +203,7 @@ define([
|
|||||||
var $loadingTip = $('<div>', {'id': 'loadingTip'});
|
var $loadingTip = $('<div>', {'id': 'loadingTip'});
|
||||||
$('<span>', {'class': 'tips'}).text(getRandomTip()).appendTo($loadingTip);
|
$('<span>', {'class': 'tips'}).text(getRandomTip()).appendTo($loadingTip);
|
||||||
$loadingTip.css({
|
$loadingTip.css({
|
||||||
'top': $('body').height()/2 + $container.height()/2 + 20 + 'px'
|
'bottom': $('body').height()/2 - $container.height()/2 + 20 + 'px'
|
||||||
});
|
});
|
||||||
$('body').append($loadingTip);
|
$('body').append($loadingTip);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user