summaryrefslogtreecommitdiff
path: root/js/jquery.colorbox.patch
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-24 12:51:02 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-24 12:51:02 +0000
commit9d67b4b7dc763de23bded94f8bdca148328980a2 (patch)
tree16600f85cf8adebd61e7b958d76c7e0d2dfa589d /js/jquery.colorbox.patch
parent288c627bdd6141ba9c01398a143c39fef8d60862 (diff)
downloadwebtrees-9d67b4b7dc763de23bded94f8bdca148328980a2.tar.gz
webtrees-9d67b4b7dc763de23bded94f8bdca148328980a2.tar.bz2
webtrees-9d67b4b7dc763de23bded94f8bdca148328980a2.zip
Add visual feedback for privacy settings
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';