aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-18 20:33:28 -0700
committerfriendica <info@friendica.com>2014-06-18 20:33:28 -0700
commit224a2b9ddf38b6fa52fef3f0d8cbe4299e651c47 (patch)
tree0b9f6e4b0af7435b8b7abe4e3f3357eb7a57f277 /view/js
parent5a0e135679d1e7d557a43c89dc2e2bfa4d5afa67 (diff)
downloadvolse-hubzilla-224a2b9ddf38b6fa52fef3f0d8cbe4299e651c47.tar.gz
volse-hubzilla-224a2b9ddf38b6fa52fef3f0d8cbe4299e651c47.tar.bz2
volse-hubzilla-224a2b9ddf38b6fa52fef3f0d8cbe4299e651c47.zip
put viewsrc back in a lightbox
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js5
1 files changed, 3 insertions, 2 deletions
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();