Skip to content
Browse files

do no show arrow cues when new element is loaded and mouse does not h…

…over the container
  • Loading branch information...
1 parent 5b9c26b commit d252f95141a0723ab015008c2cb8b5b114c05d4e Wojciech Ryrych committed Sep 30, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 widget/lib/jquery.ui.rlightbox.js
View
7 widget/lib/jquery.ui.rlightbox.js
@@ -441,7 +441,12 @@ $.extend($.ui.rlightbox, {
)
.mousedown( $.proxy(this.panoramaStart, this) )
.mouseup( $.proxy(this.panoramaStop, this ) )
- .mouseleave( $.proxy(this.hideArrow, this) );
+ .mouseleave(
+ function() {
+ self.hideArrow.apply( self );
+ data.side = "";
+ }
+ );
// zoom in or zoom out an image
$lb.panoramaIcon

0 comments on commit d252f95

Please sign in to comment.
Something went wrong with that request. Please try again.