From fce51876c9d2d8803acddaa9c5b4980eb82ec357 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Feb 2015 18:58:43 -0800 Subject: bring some styling back to the colorbox and improve the event preview ability --- view/js/mod_directory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js') diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js index 87e4f92b5..861900704 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({ maxWidth: "50%", maxHeight: "75%", html: data }); + $.colorbox({ maxWidth: "80%", maxHeight: "75%", scrolling: false, html: data }); }); } @@ -28,7 +28,7 @@ function doRatings(hash) { function buildRatingForm(hash) { var html = '
'+aStr['rating_desc']+'
'+aStr['rating_text']+'
'; - $.colorbox({maxwidth: "50%", maxHeight: "50%", html: html, close: 'X' }); + $.colorbox({maxwidth: "50%", maxHeight: "50%", scrolling: false, html: html, close: 'X' }); currentHash = hash; } -- cgit v1.2.3