summaryrefslogtreecommitdiff
path: root/js/jquery.colorbox.patch
diff options
context:
space:
mode:
Diffstat (limited to 'js/jquery.colorbox.patch')
-rw-r--r--js/jquery.colorbox.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/js/jquery.colorbox.patch b/js/jquery.colorbox.patch
deleted file mode 100644
index 36ecc4a953..0000000000
--- a/js/jquery.colorbox.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-996,1006d995
-< if (settings.h) {
-< photo.style.marginTop = Math.max(settings.mh - photo.height, 0) / 2 + 'px';
-< }
-<
-< if ($related[1] && (settings.get('loop') || $related[index + 1])) {
-< photo.style.cursor = 'pointer';
-< photo.onclick = function () {
-< publicMethod.next();
-< };
-< }
-<
-1008a998,1000
-> var vertpadding = (settings.h - photo.height) / 2;
-> var horizpadding = (settings.w - photo.width) / 2;
-> photo.style.padding = vertpadding + 'px ' + horizpadding + 'px';