Commit e3f3542d authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #6823: add some docs notes about tooltips in input groups

parent c8874ff2
Showing with 9 additions and 3 deletions
+9 -3
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
, fixTitle: function () { , fixTitle: function () {
var $e = this.$element var $e = this.$element
if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
$e.attr('data-original-title', $e.attr('title') || '').removeAttr('title') $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
} }
} }
......
...@@ -1287,7 +1287,7 @@ ...@@ -1287,7 +1287,7 @@
, fixTitle: function () { , fixTitle: function () {
var $e = this.$element var $e = this.$element
if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
$e.attr('data-original-title', $e.attr('title') || '').removeAttr('title') $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
} }
} }
......
This diff is collapsed.
...@@ -785,6 +785,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) { ...@@ -785,6 +785,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div> </div>
<h3>Tooltips in input groups</h3>
<p>When using tooltips and popovers with the Bootstrap input groups, you'll have to set the <code>container</code> (documented below) option to avoid unwanted side effects.</p>
<hr class="bs-docs-separator"> <hr class="bs-docs-separator">
......
...@@ -715,6 +715,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) { ...@@ -715,6 +715,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div>{{! /example }} </div>{{! /example }}
<h3>{{_i}}Tooltips in input groups{{/i}}</h3>
<p>{{_i}}When using tooltips and popovers with the Bootstrap input groups, you'll have to set the <code>container</code> (documented below) option to avoid unwanted side effects.{{/i}}</p>
<hr class="bs-docs-separator"> <hr class="bs-docs-separator">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment