In my page at http://www.sybase-recovery.com/outlook-repair/, I write a very simple script theme1.js at http://www.sybase-recovery.com/wp-content/themes/datanumen/js/theme1.js, as below:
document.addEventListener('DOMContentLoaded', function () {
var b = 1;
});
But during the debug, I find DOMContentLoaded event will be fired twice when pressing Ctrl + F5 to load the page.
I try to search online, and find two results:
Has anyone encountered a similar issue?
Thank you
Because your page has an iframe
<iframe width="100%" height="800px" src="http://www.sybase-recovery.com/support/documentation/outlook-repair/"></iframe>
It also includes the same theme1.js file