In one of my java script file got the following line :
Event.observe(window,'load',ls.init,false);
So, when I load the chrome browser, it throw an error as below:
TypeError: document.observe is not a
Solution:
Just change the above line to the following.
$(window).load((){ ls.init; });
Leave a Comment