// fixed toolbar

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10043 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti committed 2011-11-10 15:10:40 +00:00
1 parent 30159bb893
commit 1065c8e54f
1 file changed
+1 -3
+1 -3
View File
@@ -72,8 +72,7 @@
placeholderTop = placeholder.offset().top; placeholderTop = placeholder.offset().top;
var viewTop = view.scrollTop() + 15; var viewTop = view.scrollTop() + 15;
// POUET
// CECI EST UN TEST
if ((viewTop > placeholderTop) && !$(this).hasClass("fix-toolbar")) if ((viewTop > placeholderTop) && !$(this).hasClass("fix-toolbar"))
{ {
$(this).css('width', $(this).width()); $(this).css('width', $(this).width());
@@ -81,7 +80,6 @@
} }
else if ( (viewTop <= placeholderTop) && $(this).hasClass("fix-toolbar")) else if ( (viewTop <= placeholderTop) && $(this).hasClass("fix-toolbar"))
{ {
//$(this).css('width', 'auto');
$(this).removeClass("fix-toolbar"); $(this).removeClass("fix-toolbar");
} }
} }