Commit e4b614f5 authored by  JosephK's avatar JosephK
Browse files

Bad index (grmpf)

parent 5a5e3fe7
Pipeline #42869 passed with stages
in 40 seconds
......@@ -288,7 +288,6 @@
let j = 0;
for (let i = 0; i < scripts.length; i += 1) {
if (scripts[i].getAttribute('data-sense3')) {
j += 1;
let [format, tags, colors, id] = scripts[i].getAttribute('data-sense3').split(';');
format = format || '300x250';
tags = tags || '';
......@@ -311,6 +310,7 @@
if (!document.getElementById(`sense3_${j}`)) {
scripts[j].parentNode.insertBefore(iframe, scripts[j].nextSibling);
}
j += 1;
}
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment