File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function tableSortJs(test = false, domDocumentWindow = document) {
2020 if ( test === true ) {
2121 const getTagTable = domDocumentWindow . getElementsByTagName ( "table" ) ;
2222 return [ getTagTable ] ;
23- } else if ( test === false ) {
23+ } else {
2424 const getTagTable = document . getElementsByTagName ( "table" ) ;
2525 return [ getTagTable ] ;
2626 }
@@ -40,7 +40,7 @@ function tableSortJs(test = false, domDocumentWindow = document) {
4040 if ( sortableTable . getElementsByTagName ( "thead" ) . length === 0 ) {
4141 if ( test === true ) {
4242 createTableHead = domDocumentWindow . createElement ( "thead" ) ;
43- } else if ( test === false ) {
43+ } else {
4444 createTableHead = document . createElement ( "thead" ) ;
4545 }
4646 createTableHead . appendChild ( sortableTable . rows [ 0 ] ) ;
You can’t perform that action at this time.
0 commit comments