mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix null error in wrapTables()
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user