fix(lint): loop no likey ++

This commit is contained in:
SabreCat 2023-03-13 18:36:14 -05:00
parent e39b3bdd35
commit 83f5c92ff1

View file

@ -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