From 83f5c92ff199e509265cc988932ad5ccc4e69ecd Mon Sep 17 00:00:00 2001 From: SabreCat Date: Mon, 13 Mar 2023 18:36:14 -0500 Subject: [PATCH] fix(lint): loop no likey ++ --- website/client/src/directives/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/client/src/directives/markdown.js b/website/client/src/directives/markdown.js index 1d0abcf8f6..2c210f5e74 100644 --- a/website/client/src/directives/markdown.js +++ b/website/client/src/directives/markdown.js @@ -11,7 +11,7 @@ export default function markdown (el, { value, oldValue }) { const allLinks = el.getElementsByTagName('a'); - for (let i = 0; i < allLinks.length; i++) { + for (let i = 0; i < allLinks.length; i += 1) { const link = allLinks[i]; // todo middleclick or ctrl+click to open it in a new tab