Fix diff filter

@sbcgua  Fixes #2613
This commit is contained in:
Frederik Hudák 2019-05-07 13:57:45 +02:00 committed by Lars Hvam
parent 3217ef2348
commit 02a1a27178

View File

@ -493,7 +493,7 @@ CheckListWrapper.prototype.onClick = function(e) { // eslint-disable-line no-unu
var nodeA = target;
var nodeLi = target.parentNode;
var nodeIcon = target.children[0];
if (!nodeIcon.classList.contains("octicon")) return;
if (!nodeIcon.classList.contains("icon")) return;
// Node updates
var option = nodeA.innerText;