From 8692bb43f914447632d70b5eee1fff370d49821c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 24 May 2012 01:06:16 -0400 Subject: better handling of the header notifications --- askbot/skins/common/media/js/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/askbot/skins/common/media/js/utils.js b/askbot/skins/common/media/js/utils.js index a1de569e..ffc4a1cf 100644 --- a/askbot/skins/common/media/js/utils.js +++ b/askbot/skins/common/media/js/utils.js @@ -109,7 +109,7 @@ var notify = function() { return { show: function(html) { if (html) { - $("body").css("margin-top", "2.2em"); + $("body").addClass('user-messages'); $(".notify span").html(html); } $(".notify").fadeIn("slow"); @@ -123,7 +123,7 @@ var notify = function() { ); } $(".notify").fadeOut("fast"); - $("body").css("margin-top", "0"); + $('body').removeClass('user-messages'); visible = false; }, isVisible: function() { return visible; } -- cgit v1.2.3-1-g7c22