Skip to content

Commit a43b4dc

Browse files
committed
Sync documentation of main branch
1 parent 81e950e commit a43b4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_versions/main/guides/javascript/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(tables){
1313
var input = caption.firstElementChild.lastElementChild;
1414
input.addEventListener("keyup", initiateSearch);
1515
input.addEventListener("input", initiateSearch);
16-
input.attributes.removeNamedItem('disabled');
16+
if (input.attributes.disabled) input.attributes.removeNamedItem('disabled');
1717
inputs[input.id] = {"table": table};
1818
}
1919

0 commit comments

Comments
 (0)