1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00
This commit is contained in:
Denis Shakhov 2012-07-10 21:55:00 +07:00
parent a95afa936f
commit 4722b0ee27

View file

@ -96,7 +96,7 @@ ls.blocks = (function ($) {
*/
this.showProgress = function(content) {
content.height(content.height());
content.empty().css({'background': 'url(' + this.options.loader + ') no-repeat center center', 'min-height': 60});
content.empty().css({'background': 'url(' + this.options.loader + ') no-repeat center top', 'min-height': 70});
};
/**
@ -104,7 +104,7 @@ ls.blocks = (function ($) {
*/
this.onLoad = function(content,result) {
$(this).trigger('loadSuccessful',arguments);
content.empty().css({'background': 'none', 'height': 'auto', 'min-height': 'auto'});
content.empty().css({'background': 'none', 'height': 'auto', 'min-height': 0});
if (result.bStateError) {
ls.msg.error(null, result.sMsg);
} else {