1

I get a strange background when I enable a tooltip. It might be the alert class, but I tried to delete it and it didn't help. Here's a picture:

enter image description here

HTML:

<a href="#Top" rel="tooltip" data-placement="top" data-title="Upp"><i class="icon-circle-arrow-up"></i></a>

JavaScript:

$(document).ready(function () {
    if ($("[rel=tooltip]").length) {
        $("[rel=tooltip]").tooltip();
    }
});

What am I doing wrong?

4

0 回答 0