revert upstream change

might fix broken tab function?
This commit is contained in:
wicknix 2022-04-07 18:44:57 -05:00
parent 2ecdabc218
commit d7753c226f
1 changed files with 10 additions and 10 deletions

View File

@ -399,16 +399,16 @@ var AboutReaderListener = {
// Post-load fixups can go here.
// TenFourFox issue 654: defeat lozad.js lazy image loading.
Array.forEach(content.document.getElementsByTagName('img'),
function(i) {
try {
// Convert data-src to src.
if (i.getAttribute("data-src")) {
i.src = i.getAttribute("data-src");
i.setAttribute("data-loaded") = "true";
}
} catch(e) { }
});
// Array.forEach(content.document.getElementsByTagName('img'),
// function(i) {
// try {
// // Convert data-src to src.
// if (i.getAttribute("data-src")) {
// i.src = i.getAttribute("data-src");
// i.setAttribute("data-loaded") = "true";
// }
// } catch(e) { }
// });
// Do this last.
this.updateReaderButton();