frenzy-ios/Reader/read.js

7 lines
285 B
JavaScript
Raw Normal View History

2022-01-14 21:26:28 +00:00
document.addEventListener("DOMContentLoaded", () => {
for (const table of document.querySelectorAll("table")) {
// wrap tables in divs to which we can apply overflow-x: scroll;
table.outerHTML = `<div class="item-content-table">${table.outerHTML}</div>`;
}
});