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
|
||||
jQuery lightbox and modal window plugin
|
||||
(c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
|
||||
license: http://www.opensource.org/licenses/mit-license.php
|
||||
Colorbox 1.5.14
|
||||
license: MIT
|
||||
http://www.jacklmoore.com/colorbox
|
||||
*/
|
||||
(function ($, document, window) {
|
||||
var
|
||||
@ -415,8 +414,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
var opacity = parseFloat(settings.get('opacity'));
|
||||
$overlay.css({
|
||||
opacity: parseFloat(settings.get('opacity')) || '',
|
||||
opacity: opacity === opacity ? opacity : '',
|
||||
cursor: settings.get('overlayClose') ? 'pointer' : '',
|
||||
visibility: 'visible'
|
||||
}).show();
|
||||
@ -434,7 +434,7 @@
|
||||
// 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.
|
||||
function appendHTML() {
|
||||
if (!$box && document.body) {
|
||||
if (!$box) {
|
||||
init = false;
|
||||
$window = $(window);
|
||||
$box = $tag(div).attr({
|
||||
@ -478,7 +478,8 @@
|
||||
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
|
||||
|
||||
$groupControls = $next.add($prev).add($current).add($slideshow);
|
||||
|
||||
}
|
||||
if (document.body && !$box.parent().length) {
|
||||
$(document.body).append($overlay, $box.append($wrap, $loadingBay));
|
||||
}
|
||||
}
|
||||
@ -696,7 +697,7 @@
|
||||
}, 1);
|
||||
}
|
||||
|
||||
if (loadedCallback) {
|
||||
if ($.isFunction(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