Fix crash with mobile navLinks.

This commit is contained in:
Mayhem 2014-02-05 15:28:44 +01:00
parent f080a15292
commit 50d9675c45

View File

@ -158,7 +158,7 @@ Index =
rmCatalogLinks: ->
$.addClass doc, 'removing-catalog-links'
$.ready ->
for el in $$ '.navLinks a[href$=catalog]'
for el in $$ '.navLinks.desktop a[href$=catalog]'
$.rm el.previousSibling
$.rm el
$.rmClass doc, 'removing-catalog-links'