aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-25 01:05:46 -0800
committerfriendica <info@friendica.com>2013-12-25 01:05:46 -0800
commitb1ade138ff7fc47f2b70fb3fbf130127140b5271 (patch)
tree92e40bec5aa450411225f6a16ded07d57dbe2a6e /view/js
parent71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c (diff)
downloadvolse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.tar.gz
volse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.tar.bz2
volse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.zip
use colorbox for single photo viewing (replacing prettyPhoto, which may have license incompatibilities). Also set maximum size of a directory popup and let it scroll after that in case somebody set their profile keywords to the content of Webster's dictionary.
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_directory.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js
index 96a38a109..291734b4f 100644
--- a/view/js/mod_directory.js
+++ b/view/js/mod_directory.js
@@ -1,7 +1,7 @@
function dirdetails(hash) {
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
- $.colorbox({ html: data });
+ $.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data });
});
}