@@ -10598,11 +10598,7 @@ return jQuery;
10598
10598
} ) ;
10599
10599
10600
10600
/*!
10601
- <<<<<<< HEAD
10602
- * Lightbox v2.11.0
10603
- =======
10604
10601
* Lightbox v2.11.1
10605
- >>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa
10606
10602
* by Lokesh Dhakar
10607
10603
*
10608
10604
* More info:
@@ -10702,9 +10698,6 @@ return jQuery;
10702
10698
}
10703
10699
10704
10700
var self = this ;
10705
- < << << << HEAD
10706
- $ ( '<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>' ) . appendTo ( $ ( 'body' ) ) ;
10707
- = === ===
10708
10701
10709
10702
// The two root notes generated, #lightboxOverlay and #lightbox are given
10710
10703
// tabindex attrs so they are focusable. We attach our keyboard event
@@ -10718,7 +10711,6 @@ return jQuery;
10718
10711
//
10719
10712
// Github issue: https://github.com/lokesh/lightbox2/issues/663
10720
10713
$ ( '<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>' ) . appendTo ( $ ( 'body' ) ) ;
10721
- > >>> >>> f3f625ba65ea8727baa4be30e428de45d5b93faa
10722
10714
10723
10715
// Cache jQuery objects
10724
10716
this . $lightbox = $ ( '#lightbox' ) ;
@@ -10942,7 +10934,7 @@ return jQuery;
10942
10934
if ( self . options . maxWidth && self . options . maxWidth < maxImageWidth ) {
10943
10935
maxImageWidth = self . options . maxWidth ;
10944
10936
}
10945
- if ( self . options . maxHeight && self . options . maxHeight < maxImageWidth ) {
10937
+ if ( self . options . maxHeight && self . options . maxHeight < maxImageHeight ) {
10946
10938
maxImageHeight = self . options . maxHeight ;
10947
10939
}
10948
10940
@@ -11132,11 +11124,8 @@ return jQuery;
11132
11124
11133
11125
var keycode = event . keyCode ;
11134
11126
if ( keycode === KEYCODE_ESC ) {
11135
- < << << << HEAD
11136
- = === ===
11137
11127
// Prevent bubbling so as to not affect other components on the page.
11138
11128
event . stopPropagation ( ) ;
11139
- > >>> >>> f3f625ba65ea8727baa4be30e428de45d5b93faa
11140
11129
this . end ( ) ;
11141
11130
} else if ( keycode === KEYCODE_LEFTARROW ) {
11142
11131
if ( this . currentImageIndex !== 0 ) {
0 commit comments