$(self.prefetchedImgs[newIndexL]).css('zIndex', 2);
//jquery adds display:block to the element style, which interferes with our print css
- $(self.prefetchedImgs[newIndexL]).css('display', null);
- $(self.prefetchedImgs[newIndexR]).css('display', null);
+ $(self.prefetchedImgs[newIndexL]).css('display', '');
+ $(self.prefetchedImgs[newIndexR]).css('display', '');
$(self.leafEdgeR).css({
// Moves the right leaf edge
$(self.prefetchedImgs[newIndexR]).css('zIndex', 2);
//jquery adds display:block to the element style, which interferes with our print css
- $(self.prefetchedImgs[newIndexL]).css('display', null);
- $(self.prefetchedImgs[newIndexR]).css('display', null);
+ $(self.prefetchedImgs[newIndexL]).css('display', '');
+ $(self.prefetchedImgs[newIndexR]).css('display', '');
$(self.leafEdgeL).css({
width: newLeafEdgeWidthL+'px',