From 1aa7f3136f336a66220aae28f1404e2e2a4ecd39 Mon Sep 17 00:00:00 2001 From: marijus Date: Tue, 20 May 2014 19:16:05 +0200 Subject: the js seems to interfere with something else... comment out for now... --- view/js/main.js | 4 ++-- view/tpl/comment_item.tpl | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/view/js/main.js b/view/js/main.js index a4cbed064..b388ab940 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -13,7 +13,7 @@ } function commentClose(obj,id) { - $(document).on('click', function() { + //$(document).on('click', function() { if(obj.value == '') { obj.value = aStr['comment']; $("#comment-edit-text-" + id).removeClass("comment-edit-text-full"); @@ -23,7 +23,7 @@ return true; } return false; - }); + //}); } diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 598c0d58e..121cf0995 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -53,12 +53,12 @@ {{/if}}
- {{if $preview}} - - {{/if}} - + {{if $preview}} + + {{/if}} +
-- cgit v1.2.3