Unresponssive Loading
-
when i tried to open one of files, the loading kept freezing and unable to proceed and load the file (also the page said “Page Unresponsive” and we will be forced to either wait for the page or exit)
-
This topic was modified 1 year, 3 months ago by
aaronciv.
-
This topic was modified 1 year, 3 months ago by
-
Hi,
This is not expected, so we need to check your flipbook. Please share the link to your flipbook or your pdf. Also test your pdf at https://wordpress.dearflip.com/pdf-viewer/ and let us know if that freezes too.
Best Regards,
DearHive
-
This reply was modified 1 year, 3 months ago by
DearHive.
Hello, after testing my pdf at dearflip links, it works but not on my website (i’m using the same pdf that i had tested earlier but still can’t) here checkout my website: https://universitasmodern.com
Login using account i have made ealier:
After logging in access to https://universitasmodern.com/papers
There you will see the problem. Thankyou.-
This reply was modified 1 year, 3 months ago by
aaronciv.
HI,
Please edit your message and remove the username password. This is public forum. Please do not post password here.
Please use contact@dearhive.com for confidential matters.
okay, sorry wont happen again. Check emails
Hi,
When the page loads, if I click(open) on a flipbook, it hangs.
But if I wait for a minute then click it works.
We see that there is some custom code that expects some elements to exists else it goes in a loop.
Have you consulted your developer?
Here is the code part that throws the error.
document.addEventListener("DOMContentLoaded", function() {
const config = { attributes: true, childList: true, subtree: true, characterData: true };
const callback = function(mutations, observer) {
for (let mutation of mutations) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(node => {
if (node.nodeType === Node.TEXT_NODE && node.parentNode.matches('.df-loading-info')) {
node.textContent = node.textContent.replace('DearFlip', 'Modern University');
}
});
}
else if (mutation.type === 'characterData') {
mutation.target.textContent = mutation.target.textContent.replace('DearFlip', 'Modern University');
}
}
};
const observer = new MutationObserver(callback);
const targetNode = document.body; // asumsi elemen mungkin di mana saja dalam body
if (targetNode) {
observer.observe(targetNode, config);
}
// Opsional: Menghentikan observer setelah beberapa waktu
setTimeout(() => observer.disconnect(), 30000); // Hentikan observer setelah 30 detik
});I have marked the problematic statement as bold and here is the error message:
data:text/javascript…kZXRpaw0KfSk7DQo=:8 Uncaught TypeError: Cannot read properties of null (reading 'matches')
at data:text...w0KfSk7DQo=:8:77Best Regards,
DearHive-
This reply was modified 1 year, 3 months ago by
DearHive.
-
This reply was modified 1 year, 3 months ago by
The topic ‘Unresponssive Loading’ is closed to new replies.