Update colorbox library to 1.5.14
This commit is contained in:
7
js/colorbox.1.5.10/jquery.colorbox.min.js
vendored
7
js/colorbox.1.5.10/jquery.colorbox.min.js
vendored
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
@ -1,8 +1,7 @@
|
|||||||
/*!
|
/*!
|
||||||
Colorbox v1.5.10 - 2014-06-26
|
Colorbox 1.5.14
|
||||||
jQuery lightbox and modal window plugin
|
license: MIT
|
||||||
(c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
|
http://www.jacklmoore.com/colorbox
|
||||||
license: http://www.opensource.org/licenses/mit-license.php
|
|
||||||
*/
|
*/
|
||||||
(function ($, document, window) {
|
(function ($, document, window) {
|
||||||
var
|
var
|
||||||
@ -415,8 +414,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var opacity = parseFloat(settings.get('opacity'));
|
||||||
$overlay.css({
|
$overlay.css({
|
||||||
opacity: parseFloat(settings.get('opacity')) || '',
|
opacity: opacity === opacity ? opacity : '',
|
||||||
cursor: settings.get('overlayClose') ? 'pointer' : '',
|
cursor: settings.get('overlayClose') ? 'pointer' : '',
|
||||||
visibility: 'visible'
|
visibility: 'visible'
|
||||||
}).show();
|
}).show();
|
||||||
@ -434,7 +434,7 @@
|
|||||||
// Colorbox's markup needs to be added to the DOM prior to being called
|
// Colorbox's markup needs to be added to the DOM prior to being called
|
||||||
// so that the browser will go ahead and load the CSS background images.
|
// so that the browser will go ahead and load the CSS background images.
|
||||||
function appendHTML() {
|
function appendHTML() {
|
||||||
if (!$box && document.body) {
|
if (!$box) {
|
||||||
init = false;
|
init = false;
|
||||||
$window = $(window);
|
$window = $(window);
|
||||||
$box = $tag(div).attr({
|
$box = $tag(div).attr({
|
||||||
@ -478,7 +478,8 @@
|
|||||||
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
|
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
|
||||||
|
|
||||||
$groupControls = $next.add($prev).add($current).add($slideshow);
|
$groupControls = $next.add($prev).add($current).add($slideshow);
|
||||||
|
}
|
||||||
|
if (document.body && !$box.parent().length) {
|
||||||
$(document.body).append($overlay, $box.append($wrap, $loadingBay));
|
$(document.body).append($overlay, $box.append($wrap, $loadingBay));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -696,7 +697,7 @@
|
|||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loadedCallback) {
|
if ($.isFunction(loadedCallback)) {
|
||||||
loadedCallback();
|
loadedCallback();
|
||||||
}
|
}
|
||||||
},
|
},
|
6
js/colorbox.1.5.14/jquery.colorbox.min.js
vendored
Normal file
6
js/colorbox.1.5.14/jquery.colorbox.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user