• Resolved dsieber

    (@dsieber)


    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)
  • Plugin Author neilgee

    (@neilgee)

    Thanks for the input!

    The clone will only occur if multiple menus are used and will only clone the first menu in the list.

Viewing 1 replies (of 1 total)

The topic ‘Duplicate IDs’ is closed to new replies.