constrain viewsrc colorbox to 80% of the current page size. It gets messy scrolling to the right for days to find the close button.

This commit is contained in:
friendica 2014-09-24 17:32:38 -07:00
parent 24d402941f
commit 92c723d37c

View File

@ -113,7 +113,7 @@
}
function viewsrc(id) {
$.colorbox({href: 'viewsrc/' + id });
$.colorbox({href: 'viewsrc/' + id, maxWidth: '80%', maxHeight: '80%' });
}
function qCommentInsert(obj,id) {