Duplicate IDs
-
The menus are getting cloned and appended to SlickNav.
Therefore I’ve had the problem of duplicate IDs (original nav and cloned nav had the same ID).I fixed this by adding a simple “.removeAttr(‘id’)” after the clone() command in “slicknav-mobile-menu/js/slick-init.js” (lines 28 & 30).
I don’t know if this has already be discussed, but I thought this might help others with the same problem.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Duplicate IDs’ is closed to new replies.