Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/src/munin-plot.js
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2021-08-10 15:15:06 +0200
committerArthur de Jong <arthur@arthurdejong.org>2021-08-10 15:15:06 +0200
commit62601372fb09706bf32ad6f2c94ab60c18c35fce (patch)
tree980c1d2a427ed0f71262a773dca45be4e5265038 /src/munin-plot.js
parent4d7f3ffc748ac6ccba0e9edb9475e00e899d91bb (diff)
Fix typos found by codespell
Diffstat (limited to 'src/munin-plot.js')
-rw-r--r--src/munin-plot.js4
1 files changed, 2 insertions, 2 deletions
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]