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
  • #2091
Closed
Open
Issue created Feb 19, 2012 by Administrator@rootContributor

Popover selector option not working

Created by: yuvadm

When using the selector popover option, nothing actually happens:

<div id="some-div">
  <span>Some stuff</span>
</div>

<div id="popover-element">
  <p>This is the popover text</p>
  <p>But it also gets complicated...</p>
</div>

and:

$(document).ready(function() {
  $('#some-div').popover({
    selector: $('#popover-element') // also tried just '#popover-element', same result
  });
});

If I revert back to just a data-content:

<div id="some-div" data-content="hai">

then things work fine, but I need more than just text in the popover.

Assignee
Assign to
Time tracking