Update colorbox library to 1.5.14

This commit is contained in:
Jay Wood
2014-11-17 09:44:34 -05:00
parent 03d285e07e
commit b0e8b3f514
7 changed files with 15 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -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();
}
},

File diff suppressed because one or more lines are too long