News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Uncaught SyntaxError: Unexpected token <

Started by 2dmaster, May 22, 2016, 23:41:32 PM

Previous topic - Next topic

2dmaster

when ultraminify gets error
jQuery(document).ready(function($){$('a.ask-a-question, a.printModal, a.recommened-to-friend, a.manuModal').click(function(event){event.preventDefault();$.fancybox({href:$(this).attr('href'),type:'iframe',height:550});});});

<script id="imagepopup_js"type="text/javascript">jQuery(document).ready(function(){Virtuemart.updateImageEventListeners()});Virtuemart.updateImageEventListeners=function(){jQuery("a[rel=vm-additional-images]").fancybox({"titlePosition":"inside","transitionIn":"elastic","transitionOut":"elastic"});jQuery(".additional-images a.product-image.image-0").removeAttr("rel");jQuery(".additional-images img.product-image").click(function(){jQuery(".additional-images a.product-image").attr("rel","vm-additional-images");jQuery(this).parent().children("a.product-image").removeAttr("rel");var src=jQuery(this).parent().children("a.product-image").attr("href");jQuery(".main-image img").attr("src",src);jQuery(".main-image img").attr("alt",this.alt);jQuery(".main-image a").attr("href",src);jQuery(".main-image a").attr("title",this.alt);jQuery(".main-image .vm-img-desc").html(this.alt);});}

AH

Some more information is required:

Quotewhen ultraminify gets error

If you are using a JS code minifier - what happens when you turn it off?
Regards
A

Joomla 3.10.11
php 8.0