mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Merge branch '2.3.0-wip' of github.com:twitter/bootstrap into 2.3.0-wip
Conflicts: docs/assets/js/bootstrap.min.js
This commit is contained in:
Vendored
+1
-1
@@ -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', '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1289,7 +1289,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', '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -2178,7 +2178,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -2589,7 +2589,7 @@ class="clearfix"
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+1
-1
@@ -477,7 +477,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+1
-1
@@ -245,7 +245,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -340,7 +340,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+1
-1
@@ -184,7 +184,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|
||||||
|
|
||||||
@@ -1740,7 +1743,7 @@ $('.carousel').carousel({
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -565,7 +565,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Vendored
+1
-1
@@ -97,7 +97,7 @@
|
|||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">{{_i}}Issues{{/i}}</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">{{_i}}Issues{{/i}}</a></li>
|
||||||
<li class="muted">·</li>
|
<li class="muted">·</li>
|
||||||
<li><a href="https://github.com/twitter/bootstrap/wiki">{{_i}}Roadmap and changelog{{/i}}</a></li>
|
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">{{_i}}Changelog{{/i}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+3
@@ -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">
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -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', '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
-2
@@ -22,9 +22,9 @@ $(function () {
|
|||||||
ok(!!$.fn.tooltip.defaults, 'defaults is defined')
|
ok(!!$.fn.tooltip.defaults, 'defaults is defined')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should remove title attribute", function () {
|
test("should empty title attribute", function () {
|
||||||
var tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"></a>').tooltip()
|
var tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"></a>').tooltip()
|
||||||
ok(!tooltip.attr('title'), 'title tag was removed')
|
ok(tooltip.attr('title') === '', 'title attribute was emptied')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should add data attribute for referencing original title", function () {
|
test("should add data attribute for referencing original title", function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user