Node.js based forum software built for the modern web
fixing accidental usage of .includes
Julian Lam5302e79b564f
diff --git a/public/src/utils.js b/public/src/utils.jsindex 2fcdfa8157..d921573f7a 100644--- a/public/src/utils.js+++ b/public/src/utils.js@@ -550,7 +550,7 @@value = value ? value.split(' ') : [];['noopener', 'noreferrer'].forEach(function (property) {- if (!value.includes(property)) {+ if (value.indexOf(property) === -1) {value.push(property);}});