Skip to content

Problema en el collapse del navbar #1

@LucioBisiach

Description

@LucioBisiach

Al reducir el tamaño de la ventana y que nos aparezca el boton del collapse, del navbar nos daba este error.

Can't convert object to primitive value(zone-evergreen:171).

Uncaught Type Error: Cannot convert object to primitive value(zone-evergreen.js:171 )
at RegExp.test ()
at HTMLDivElement. (bootstrap.bundle.min.js:6)
at Function.each (jquery.min.js:2)
at S.fn.init.each (jquery.min.js:2)
_at S.fn.init.a.jQueryInterface [as collapse] (bootstrap.bundle.min.js:6)
at HTMLDivElement. (bootstrap.bundle.min.js:6)
at Function.each (jquery.min.js:2)
at S.fn.init.each (jquery.min.js:2)
at HTMLButtonElement. (bootstrap.bundle.min.js:6)
at HTMLDocument.dispatch (jquery.min.js:2)

Solución:

  • Cambiamos la version de jQuery de 3.5.0 a 3.5.1
  • npm install

Y funcionó

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions