Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes issue with Panorama in Firefox 3.0, 3.5 & 3.6

  • Loading branch information...
commit 98d9cdde09fc7695092cc0f1f3468347250d9094 1 parent 13de5a4
Wojciech Ryrych authored
Showing with 7 additions and 2 deletions.
  1. +0 −1  widget/css/lightbox.css
  2. +7 −1 widget/lib/jquery.ui.rlightbox.js
View
1  widget/css/lightbox.css
@@ -25,7 +25,6 @@
#ui-lightbox-content {
border: 0;
- overflow: hidden;
position: relative;
width: 20px;
height: 20px;
View
8 widget/lib/jquery.ui.rlightbox.js
@@ -1187,7 +1187,10 @@ $.extend($.ui.rlightbox, {
} else {
this.panoramaShowIcon( "shrink" );
}
-
+
+ // fixes issue with Panorama in Firefox 3.0, 3.5, 3.6
+ $lb.content.css( "overflow", "hidden" );
+
// give the natural size to the image
$lb.content
.find( "img" )
@@ -1385,6 +1388,9 @@ $.extend($.ui.rlightbox, {
this.queueResizeLightbox();
this.queueCenterContent();
+ // fixes issue with Panorama in Firefox 3.0, 3.5, 3.6
+ $lb.content.css( "overflow", "visible" );
+
// update header width
this.updateTitleWidth();
Please sign in to comment.
Something went wrong with that request. Please try again.