From daca739262355fbad469c147c0d35e910aef4057 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Wed, 27 Jul 2016 14:48:37 +0200 Subject: [PATCH] Add new line to selector for readability --- app/views/reports/new/modal/_project_contents.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/reports/new/modal/_project_contents.html.erb b/app/views/reports/new/modal/_project_contents.html.erb index 26a873d6d..dc7f01547 100644 --- a/app/views/reports/new/modal/_project_contents.html.erb +++ b/app/views/reports/new/modal/_project_contents.html.erb @@ -74,8 +74,8 @@ } }); projectAll.click(function() { - var parentLists = $(this).parents("ul.project-contents-list, ul.experiment-contents-list"); - + var parentLists = $(this).parents("ul.project-contents-list, \ + ul.experiment-contents-list"); if (parentLists.length) { var prevEl = parentLists.prev(); if (prevEl.length && prevEl.is("div.checkbox")) {