From b2ab906483b950c8ed43774252172d6a18c8c355 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 18 Jan 2018 17:02:59 -0800 Subject: remove deprecated 'qcomment' feature; unused since 2012 --- view/js/main.js | 16 ---------------- view/tpl/comment_item.tpl | 8 -------- 2 files changed, 24 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 0e3dcb0ec..3811ddc88 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -282,22 +282,6 @@ function viewsrc(id) { $.colorbox({href: 'viewsrc/' + id, maxWidth: '80%', maxHeight: '80%' }); } -function qCommentInsert(obj, id) { - var tmpStr = $("#comment-edit-text-" + id).val(); - if(tmpStr == aStr.comment) { - tmpStr = ''; - $("#comment-edit-text-" + id).addClass("expanded"); - openMenu("comment-edit-submit-wrapper-" + id); - } - var ins = $(obj).val(); - ins = ins.replace('<','<'); - ins = ins.replace('>','>'); - ins = ins.replace('&','&'); - ins = ins.replace('"','"'); - $("#comment-edit-text-" + id).val(tmpStr + ins); - $(obj).val(''); -} - function showHideComments(id) { if( $('#collapsed-comments-' + id).is(':visible')) { $('#collapsed-comments-' + id + ' .autotime').timeago('dispose'); diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 62530c1de..3b51971ec 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -19,14 +19,6 @@ {{/if}} - {{if $qcomment}} - - {{/if}}
-- cgit v1.2.3