From 1c5fe5a1ac252058c81d44409841441711f2c6b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 23 Dec 2013 20:04:00 -0800 Subject: set the height so colorbox can set its size correctly --- view/js/mod_directory.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'view/js') diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js index 29caa8d55..96a38a109 100644 --- a/view/js/mod_directory.js +++ b/view/js/mod_directory.js @@ -1,8 +1,7 @@ function dirdetails(hash) { $.get('dirprofile' + '?f=&hash=' + hash, function( data ) { - $.colorbox({ maxWidth: '75%', maxHeight: '75%', html: data }); - $.colorbox.resize(); + $.colorbox({ html: data }); }); } -- cgit v1.2.3