aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/mod_directory.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js
index 96a38a109..29caa8d55 100644
--- a/view/js/mod_directory.js
+++ b/view/js/mod_directory.js
@@ -1,7 +1,8 @@
function dirdetails(hash) {
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
- $.colorbox({ html: data });
+ $.colorbox({ maxWidth: '75%', maxHeight: '75%', html: data });
+ $.colorbox.resize();
});
}