From 224a2b9ddf38b6fa52fef3f0d8cbe4299e651c47 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Jun 2014 20:33:28 -0700 Subject: put viewsrc back in a lightbox --- view/js/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index e2a265a1c..f43ae4d1b 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -112,8 +112,9 @@ return true; } - - + function viewsrc(id) { + $.colorbox({href: 'viewsrc/' + id }); + } function qCommentInsert(obj,id) { var tmpStr = $("#comment-edit-text-" + id).val(); -- cgit v1.2.3