Commit 80fb08f9 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Fixed opera bug

parent f55b9dd1
......@@ -25,7 +25,12 @@ function TableRenderer(target, source, columns, options) {
if (!self.thead) {
self.thead = THEAD();
insertSiblingNodesBefore(self.table.firstChild || null, self.thead);
if (self.table.firstChild) {
insertSiblingNodesBefore(self.table.firstChild, self.thead);
}
else {
appendChildNodes(self.table, self.thead);
}
}
if (!self.tbody) {
self.tbody = TBODY();
......
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