Add new line to selector for readability

This commit is contained in:
Jure Grabnar 2016-07-27 14:48:37 +02:00
parent 598c5a63fd
commit daca739262

View file

@ -74,8 +74,8 @@
} }
}); });
projectAll.click(function() { 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) { if (parentLists.length) {
var prevEl = parentLists.prev(); var prevEl = parentLists.prev();
if (prevEl.length && prevEl.is("div.checkbox")) { if (prevEl.length && prevEl.is("div.checkbox")) {