Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #24500
Closed
Open
Issue created Oct 22, 2017 by Administrator@rootContributor

Bootstrap 4 Beta v2 JS not working with WordPress jQuery

Created by: danimalweb

Similar to #24417 (closed) which is closed.

When including the latest Beta v2 JS in a WordPress environment the following error is in the console: TypeError: Cannot read property 'fn' of undefined on Chrome. Safari and Firefox also fail to load, but a slightly different error.

JS Bin: https://jsbin.com/sowahazege/1/edit?html,js,console,output

I have included jQuery from a current live WP install on my server.

Swapping out the Beta V2 JS for the Beta V1 JS corrects the issue. As does loading jQuery from a CDN instead of the bundled WP version.

Has something changed between Beta v1 and v2 on how the jQuery object is accessed?

Assignee
Assign to
Time tracking