Follow-up fix corrects z-index of toolbar so that "More" menu
is not hidden behind it.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
tbh.width(tbh.width());
tbh.css({'position':'absolute'});
}
- tbh.css({'z-index':1000});
if(options.enabled){
$(window).scroll(function(){
if(fixMe){
var cssObj = {
'position' : 'fixed',
- 'top' : '0px'
+ 'top' : '0px',
+ 'z-index' : '1000'
}
tbh.css(cssObj);
tbh.addClass("floating");
if(repositionMe){
var cssObj = {
'position' : 'absolute',
- 'top' : originalOffset
+ 'top' : originalOffset,
+ 'z-index' : '1'
}
tbh.css(cssObj);
tbh.removeClass("floating");