Fix null error in wrapTables()
This commit is contained in:
parent
5bbda2a68e
commit
781dd2ff73
|
@ -35,7 +35,7 @@ function convertImgSrc() {
|
|||
|
||||
// Wrap tables in an overflow-x: auto; div
|
||||
function wrapTables() {
|
||||
var tables = document.querySelector("div.articleBody").getElementsByTagName("table");
|
||||
var tables = document.querySelectorAll("div.articleBody table");
|
||||
|
||||
for (table of tables) {
|
||||
var wrapper = document.createElement("div");
|
||||
|
|
Loading…
Reference in New Issue