fixing accidental usage of .includes

@benlubar
v1.18.x
Julian Lam 7 years ago
parent 2e2b97033e
commit 5302e79b56

@ -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);
}
});

Loading…
Cancel
Save