diff options
| author | Chris Rebert <[email protected]> | 2014-12-17 18:58:01 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-12-29 12:33:06 -0800 |
| commit | 6a5bc636495815b1510aaa7ecb74afd0206d22bf (patch) | |
| tree | ef9f3ea041a53603bc33aac8b0b26fd514617fcc /js | |
| parent | a1ce6a1968f170125512710486e6ff73370723c7 (diff) | |
| download | bootstrap-6a5bc636495815b1510aaa7ecb74afd0206d22bf.tar.xz bootstrap-6a5bc636495815b1510aaa7ecb74afd0206d22bf.zip | |
rename .arrow => .popover-arrow
Diffstat (limited to 'js')
| -rw-r--r-- | js/popover.js | 4 | ||||
| -rw-r--r-- | js/tests/unit/popover.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/js/popover.js b/js/popover.js index db272bdee..8aed51d2b 100644 --- a/js/popover.js +++ b/js/popover.js @@ -25,7 +25,7 @@ placement: 'right', trigger: 'click', content: '', - template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' + template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' }) @@ -72,7 +72,7 @@ } Popover.prototype.arrow = function () { - return (this.$arrow = this.$arrow || this.tip().find('.arrow')) + return (this.$arrow = this.$arrow || this.tip().find('.popover-arrow')) } Popover.prototype.tip = function () { diff --git a/js/tests/unit/popover.js b/js/tests/unit/popover.js index 466ebace2..8f59d3483 100644 --- a/js/tests/unit/popover.js +++ b/js/tests/unit/popover.js @@ -141,7 +141,7 @@ $(function () { .bootstrapPopover({ title: 'Test', content: 'Test', - template: '<div class="popover foobar"><div class="arrow"></div><div class="inner"><h3 class="title"/><div class="content"><p/></div></div></div>' + template: '<div class="popover foobar"><div class="popover-arrow"></div><div class="inner"><h3 class="title"/><div class="content"><p/></div></div></div>' }) $popover.bootstrapPopover('show') |
