TypeError: self is undefined with the new Firefox 16.0.1
I am using a Milonic DHTML Menu - JavaScript Website Navigation System. It doesnt work with the new Firefox 16.0.1. The error is with Firebug : TypeError: self is undefined . Self is referred to : self.scrollY; self.scrollX;
Alterado por elaccca em
Solução escolhida
Hi elaccca,
Quite old version of Milonic JavaScript code is used in my appliction and I got the same problem. I have changed 'self' to 'this' in the code string '_sT=self.scrollY;_sL=self.scrollX;' and this solved the issue in my website.
Ler esta resposta 👍 3Todas as respostas (2)
Solução escolhida
Hi elaccca,
Quite old version of Milonic JavaScript code is used in my appliction and I got the same problem. I have changed 'self' to 'this' in the code string '_sT=self.scrollY;_sL=self.scrollX;' and this solved the issue in my website.
Thanks zuvyte12. I also got the same problem and resolved as per your change. I think if we use the latest version of Milonic javascript, problem should not persist. Error was in "mmenudom.js".