Skip to content

Commit c1fc9a9

Browse files
committed
Merge branch 't/14559'
2 parents e282a8e + dd580dc commit c1fc9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/table/dialogs/table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
// Should we make a <thead>?
158158
var headers = info.selHeaders;
159159
if ( !table.$.tHead && ( headers == 'row' || headers == 'both' ) ) {
160-
var thead = table.findOne( 'thead' );
160+
var thead = table.getElementsByTag( 'thead' ).getItem( 0 );
161161
tbody = table.getElementsByTag( 'tbody' ).getItem( 0 );
162162
var theRow = tbody.getElementsByTag( 'tr' ).getItem( 0 );
163163

0 commit comments

Comments
 (0)