From 62601372fb09706bf32ad6f2c94ab60c18c35fce Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Tue, 10 Aug 2021 15:15:06 +0200 Subject: Fix typos found by codespell --- src/munin-plot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/munin-plot.js') diff --git a/src/munin-plot.js b/src/munin-plot.js index 6df5e26..f04ee44 100644 --- a/src/munin-plot.js +++ b/src/munin-plot.js @@ -550,8 +550,8 @@ $(document).ready(function () { if (categoryFilter && graphs[graph].category !== categoryFilter) { return } - const descripton = (graph + ' ' + graphs[graph].graph_title + ' ' + graphs[graph].category).toLowerCase() - if (search.some(x => !descripton.includes(x))) { + const description = (graph + ' ' + graphs[graph].graph_title + ' ' + graphs[graph].category).toLowerCase() + if (search.some(x => !description.includes(x))) { return } const title = graphs[graph].graph_title || graph.split('/')[2] -- cgit v1.2.3