From 4e3a2c5f28690158d9cf3c282f9d14736b5b0550 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 23 Dec 2013 19:51:51 -0800 Subject: make sure resize fires --- view/js/mod_directory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/js') 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(); }); } -- cgit v1.2.3