diff options
author | friendica <info@friendica.com> | 2014-09-24 17:32:38 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-24 17:32:38 -0700 |
commit | 92c723d37cd8ded2183d3334eb51e740170e191b (patch) | |
tree | 89e81409add34df97f633515181790d6aed4c726 /view/js | |
parent | 24d402941f143503b5b0e07403d5567f3b9d0173 (diff) | |
download | volse-hubzilla-92c723d37cd8ded2183d3334eb51e740170e191b.tar.gz volse-hubzilla-92c723d37cd8ded2183d3334eb51e740170e191b.tar.bz2 volse-hubzilla-92c723d37cd8ded2183d3334eb51e740170e191b.zip |
constrain viewsrc colorbox to 80% of the current page size. It gets messy scrolling to the right for days to find the close button.
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |