set usage tips relative to bottom of screen, not top
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user