diff --git a/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js b/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js index 4a4805e9..5c4f2a55 100644 --- a/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js +++ b/src/main/resources/hudson/matrix/LabelAxis/label-axis-resources.js @@ -7,7 +7,7 @@ Behaviour.specify("DIV.labelAxis-tree", 'LabelAxis', 0, function(e) { var values = (e.getAttribute("values") || "").split("/"); function has(v) { - return values.include(v) ? 'checked="checked" ' : ""; + return values.includes(v) ? 'checked="checked" ' : ""; } var labelAxisDataContainer = document.querySelector(".label-axis-data-container");