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;
Изменено
Выбранное решение
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.
Прочитайте этот ответ в контексте 👍 3Все ответы (2)
Выбранное решение
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".