From b533b0aca6deb3028187f97fd16500eb5437cf07 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Thu, 25 Aug 2016 17:15:53 +0200 Subject: [PATCH] Fix another minor bug --- app/assets/javascripts/my_modules/results.js | 4 ++-- app/assets/javascripts/protocols/steps.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/my_modules/results.js b/app/assets/javascripts/my_modules/results.js index 684a3f478..f71a5b832 100644 --- a/app/assets/javascripts/my_modules/results.js +++ b/app/assets/javascripts/my_modules/results.js @@ -195,8 +195,8 @@ initTutorial(); applyCollapseLinkCallBack(); initCommentOptions("ul.content-comments"); -initEditComments(".panel .tab-content"); -initDeleteComments(".panel .tab-content"); +initEditComments("#results"); +initDeleteComments("#results"); $(function () { $("#results-collapse-btn").click(function () { diff --git a/app/assets/javascripts/protocols/steps.js b/app/assets/javascripts/protocols/steps.js index cd294a0ee..2075521c6 100644 --- a/app/assets/javascripts/protocols/steps.js +++ b/app/assets/javascripts/protocols/steps.js @@ -654,8 +654,8 @@ setupAssetsLoading(); // Init comments edit/delete initCommentOptions("ul.content-comments"); -initEditComments(".panel .tab-content"); -initDeleteComments(".panel .tab-content"); +initEditComments("#steps"); +initDeleteComments("#steps"); $(function () {