From 7e72b1c254eba64dd4390869be1c786d479443fd Mon Sep 17 00:00:00 2001 From: Ashley Blewer Date: Sat, 13 Jul 2019 21:38:38 -0400 Subject: [PATCH] Links updates within categories #384 --- js/js.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/js.js b/js/js.js index 647f2a5..dd386b5 100644 --- a/js/js.js +++ b/js/js.js @@ -1,11 +1,8 @@ $(document).ready(function() { function appendLink(id) { - console.log(id) - $(id).closest('div').find('.link').empty(); - $(id).closest('div').find('.link') - .append("Link to this command: https://amiaopensource.github.io/ffmprovisr/index.html" + id + ""); - + $(id).next('div').find('.link').empty(); + $(id).next('div').find('.link').append("Link to this command: https://amiaopensource.github.io/ffmprovisr/index.html" + id + ""); } function moveToRecipe(id) {