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 +-- view/tpl/direntry_large.tpl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 }); }); } diff --git a/view/tpl/direntry_large.tpl b/view/tpl/direntry_large.tpl index 605abb9b3..58c9d5404 100755 --- a/view/tpl/direntry_large.tpl +++ b/view/tpl/direntry_large.tpl @@ -3,7 +3,7 @@
-{{$alttext}} +{{$alttext}}
-- cgit v1.2.3