Commit 8c48afdf authored by Sven Franck's avatar Sven Franck

bugfix: insertBefore requires null and not undefined

parent 0f84aa21
...@@ -4541,7 +4541,7 @@ ...@@ -4541,7 +4541,7 @@
{"text": title } {"text": title }
); );
if (merger) { if (merger) {
row.insertBefore(cell, (set === undefined ? undefined : row.childNodes[check ? 1 : 0]) ); row.insertBefore(cell, (set === undefined ? null : row.childNodes[check ? 1 : 0]) );
set = true; set = true;
} else { } else {
row.appendChild(cell); row.appendChild(cell);
......
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