I have the issue, the sub- menus just stopped working(they are NOT DISPLAYED, i have the error at the line
[PHP]this.childopen=[];this.imgloaded=false;this.loaded=false;this.prepare();},prepare:function(){var imgElms=this.menu.getElements(‘img’);if(imgElms.length&&!this.imgloaded){var imgSrcs=[];imgElms.each(function(image){imgSrcs.push(image.src)});new Asset.images(imgSrcs,{onComplete:function(){this.start();}.bind(this)});this.imgloaded=true;this.start.delay(3000,this);}else{this.start();}},start:function(){if(this.loaded){return;}[/PHP]
the error is uncaught TypeError: Object has no method ‘getElements’
But i Didn’t do anything, the sub menus just dissapeared!! please help URGENT, i need to finish this job in 2 days!!
PLEEEASE 😮
Using joomla 2.5.11
Ja purity 2 template.