I have the following links in my header:
- Account
- Wishlist
- Search
- Cart
They're all working properly, except for the cart link. Whenever the link is pressed, the console shows the following error:
Uncaught Error: Syntax error, unrecognized expression: http://myshop.com/checkout/cart/
The error refers to a Sizzle error function in a jQuery 1.10.2 script, I've looked through the script but there are multiple Sizzle scripts.
The link is called as followed in minicart.phtml:
<a href="<?php echo Mage::getUrl('checkout/cart')?>" class="skip-link skip-cart <?php if($_cartQty <= 0): ?> no-count<?php endif; ?>">
Does anybody have any ideas what may cause this error?