From 3b4a894124cb5e76832416cc9e7d8916a7a95b54 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 12 Feb 2019 11:24:44 +0100 Subject: [PATCH] fix hound --- app/assets/javascripts/experiments/dropdown_actions.js | 4 ++-- app/assets/javascripts/projects/show.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/experiments/dropdown_actions.js b/app/assets/javascripts/experiments/dropdown_actions.js index 7844247f3..652525707 100644 --- a/app/assets/javascripts/experiments/dropdown_actions.js +++ b/app/assets/javascripts/experiments/dropdown_actions.js @@ -112,8 +112,8 @@ } // Initialize no description edit link function initEditNoDescription(){ - var modal = "#edit-experiment-modal-"; - $.each($(".experiment-no-description"), function(){ + var modal = '#edit-experiment-modal-'; + $.each($('.experiment-no-description'), function() { var id = modal + $(this).data("id"); initializeModal($(this), id); }); diff --git a/app/assets/javascripts/projects/show.js b/app/assets/javascripts/projects/show.js index 43d3ac66f..7d9798768 100644 --- a/app/assets/javascripts/projects/show.js +++ b/app/assets/javascripts/projects/show.js @@ -14,7 +14,7 @@ var timestamp = container.data("timestamp"); var img_url = container.data('updated-img'); - animateSpinner(container, true, {color: '#555', top: '60%', zIndex: '100'}); + animateSpinner(container, true, { color: '#555', top: '60%', zIndex: '100' }); checkUpdatedImg(img_url, url, timestamp, container); } @@ -54,7 +54,7 @@ type: "GET", dataType: "json", success: function (data) { - el.children("img").remove(); + el.children('img').remove(); el.append(data.workflowimg); }, error: function (ev) {