// 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:
1 parent
30159bb893
commit
1065c8e54f
1 file changed
+1
-3
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user