From 92c723d37cd8ded2183d3334eb51e740170e191b Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 24 Sep 2014 17:32:38 -0700 Subject: constrain viewsrc colorbox to 80% of the current page size. It gets messy scrolling to the right for days to find the close button. --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 7bbd49c1b..f3b252171 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -113,7 +113,7 @@ } function viewsrc(id) { - $.colorbox({href: 'viewsrc/' + id }); + $.colorbox({href: 'viewsrc/' + id, maxWidth: '80%', maxHeight: '80%' }); } function qCommentInsert(obj,id) { -- cgit v1.2.3