Bug 16400: Restore the previous stack order behavior
When updating the plugin, the stack order behavior has changed. This patch restores the prevous behavior (not always z-index: 1000) Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
3fe6398c22
commit
82dbf05f54
|
|
@ -36,9 +36,6 @@
|
|||
'top': originalOffset
|
||||
});
|
||||
}
|
||||
tbh.css({
|
||||
'z-index': 1000
|
||||
});
|
||||
|
||||
if (options.enabled) {
|
||||
$(window).scroll(function () {
|
||||
|
|
@ -49,14 +46,16 @@
|
|||
if (fixMe) {
|
||||
tbh.css({
|
||||
'position': 'fixed',
|
||||
'top': '0'
|
||||
'top': '0',
|
||||
'z-index': '1000'
|
||||
});
|
||||
tbh.addClass("floating");
|
||||
}
|
||||
if (repositionMe) {
|
||||
tbh.css({
|
||||
'position': 'absolute',
|
||||
'top': originalOffset
|
||||
'top': originalOffset,
|
||||
'z-index': '1'
|
||||
});
|
||||
tbh.removeClass("floating");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue