0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-04-05 22:57:35 +02:00

10985 Commits

Author SHA1 Message Date
Caden Lovelace
a1aa0f8afd Handle multiple zero-offset Scrollspy elements.
When the first two elements in a scrollspy content block have a document
offset of zero (i.e. they're hard against the top of the page),
Scrollspy would switch between them on every scroll event.

This could happen, for example, in a system of nested sections:

```
<section id="animals">
  <section id="dogs">
	Content
  </section>
</section>
```

This ocurred because Scrollspy's check to see if it's at the end of the
array of sections uses `!arr[index]`. This misses the case where
`arr[index]` does exist and is zero.

This commit explicitly checks the array bounds.
2015-03-01 23:55:39 +00:00
Bootstrap's Grunt bot
984204c39e automatic grunt dist 2015-02-26 14:21:13 +00:00
XhmikosR
05b444aee3 Run grunt. 2015-02-26 11:30:23 +02:00
Heinrich Fenkart
c65deddcce Merge pull request from twbs/qunit-module-hooks
Unit tests: Use new names of module hooks
2015-02-26 08:36:17 +01:00
Chris Rebert
9afb61fffd QUnit.jsDump => QUnit.dump
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-jsdump-with-qunit-dump
2015-02-25 23:29:27 -08:00
Chris Rebert
4ff9c54cdd Use QUnit.log(...) instead of QUnit.log = ...
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-log-callback-with-qunit-log-callback-for-all-reporting-callbacks
2015-02-25 23:29:27 -08:00
Bootstrap's Grunt bot
4cb39987f0 automatic grunt dist 2015-02-26 07:21:21 +00:00
Heinrich Fenkart
3bb05b5fbb Unit tests: Use new names of module hooks
Refs 
2015-02-26 08:20:42 +01:00
Heinrich Fenkart
442d2dd458 Merge pull request from twbs/modal-restore-inline-padding
Modal: Apply any preexisting body padding again after closing
2015-02-26 08:13:55 +01:00
nakupanda
142a9e4ae0 Modal: Apply any preexisting body padding again after closing 2015-02-26 08:02:06 +01:00
TJ
10c8dad848 Prevent collapsed navbar in Non-responsive Example
Closes  by merging it.
2015-02-25 22:53:21 -08:00
Bootstrap's Grunt bot
033dbfd06c automatic grunt dist 2015-02-26 06:01:15 +00:00
Quentin Spencer-Harper
acc5f65756 Tooltip: Avoid creating an unnecessary tooltip when Tooltip#hide is called
Fixed performance bug where a tooltip element is created and then immediately destroyed when tooltip.hide() is called and there is no existing tooltip element

Resolves  by merging it.
2015-02-26 06:53:58 +01:00
Bootstrap's Grunt bot
f43c67b0c5 automatic grunt dist 2015-02-26 05:51:21 +00:00
vsn4ik
b395f3526e Dropdowns: Skip .disabled instead of .divider on keydown event
Fixes .
Closes  by merging it.
2015-02-26 06:42:09 +01:00
Bootstrap's Grunt bot
5debbec59f automatic grunt dist 2015-02-26 05:01:07 +00:00
Heinrich Fenkart
cac6cfcd84 Merge pull request from kkirsche/useExplicitVariableDeclaration
[Ref ] Use Explicit JS Variable Declarations rather than Chained
2015-02-26 05:55:27 +01:00
Bootstrap's Grunt bot
1d34615758 automatic grunt dist 2015-02-26 03:51:28 +00:00
Chris Rebert
a339bfb0ac Merge pull request from huang-x-h/patch-1
tip method in popover.js can be removed
2015-02-25 19:49:26 -08:00
Kevin Kirsche
238be65786 [Ref ] Use Explicit Values rather than Chain
[Ref ] Use Explicit Values for javascript variables rather than chained ones.

From https://github.com/twbs/bootstrap/pull/15881#discussion_r25330647
2015-02-25 12:19:11 -05:00
Chris Rebert
804457c474 fix 2 typos in modal unit test assertion messages 2015-02-24 23:49:08 -08:00
Mark Otto
dd1a31a7de Merge pull request from kkirsche/patch-2
Add source code documentation of justified navbar for 
2015-02-24 21:16:55 -08:00
Mark Otto
8982de3482 Merge pull request from StevenBlack/docs.js.headings
docs > js > headings
2015-02-24 21:14:43 -08:00
Kevin Kirsche
3ed961e4c1 Document justified navbar for
Document in the source code that the justified nav is meant for single line list items only. This should help prevent Issues like  in the future.
2015-02-24 23:04:59 -05:00
Heinrich Fenkart
0553300a36 Follow-up to 769c27a19f: Add new section to nav 2015-02-25 03:30:58 +01:00
Kevin Kirsche
769c27a19f Document how to properly handle modals with dynamic content height
Fixes .
Closes .
2015-02-25 03:23:02 +01:00
Heinrich Fenkart
c40c31a308 Dropdown unit tests: Tiny style changes 2015-02-25 02:53:39 +01:00
Steven Black
e9b29a3ef0 Accessibility changes to headings (transitions.html) 2015-02-24 20:19:00 -05:00
Steven Black
daccfc3c0f Accessibility changes to headings (overview.html) 2015-02-24 20:17:14 -05:00
Bootstrap's Grunt bot
1d892ceef1 automatic grunt dist 2015-02-25 01:11:20 +00:00
Heinrich Fenkart
9ea98561df Merge pull request from twbs/scrollspy-consistency
ScrollSpy: Small style consistency adjustments
2015-02-25 02:03:52 +01:00
Mark Otto
b7b69cd353 Merge branch 'master' of github.com:twbs/bootstrap 2015-02-24 16:43:22 -08:00
Mark Otto
05513c52c4 Fix : Clear the floats and move the padding to the header 2015-02-24 16:43:07 -08:00
Heinrich Fenkart
6e0c843223 ScrollSpy: Small style consistency adjustments 2015-02-25 01:37:13 +01:00
Mark Otto
be164f4d1a Merge pull request from kkirsche/patch-5
[Docs—Fixes ]Use an ID as the example for Scrollspy
2015-02-24 16:30:49 -08:00
Mark Otto
7e594b4b03 Merge pull request from michael-k/patch-1
Updated license links
2015-02-24 16:28:36 -08:00
Mark Otto
2457b40eab Merge pull request from StevenBlack/headings-labels
docs>components>labels headings
2015-02-24 16:27:36 -08:00
Mark Otto
7e0b801f4c Merge pull request from StevenBlack/headings-progressbars
docs>components>progress bars headings
2015-02-24 16:27:24 -08:00
Chris Rebert
a415b91558 Merge pull request from kkirsche/patch-20
Add plugin package keyword recommendation
2015-02-24 16:26:39 -08:00
Mark Otto
13c690f992 Merge pull request from StevenBlack/headings-listgroup-panel-well
docs>components>(remaining components) headings
2015-02-24 16:26:17 -08:00
Mark Otto
7872ca69be Merge pull request from StevenBlack/headings-media
docs>components>media object headings
2015-02-24 16:25:59 -08:00
Mark Otto
3c4a8ea61b Merge pull request from StevenBlack/headings-thumbnails
docs>components>thumbnails headings
2015-02-24 16:24:49 -08:00
Mark Otto
0e12bb4947 Merge pull request from StevenBlack/headings-buttondropdowns
docs>components>button-dropdowns headings
2015-02-24 16:23:17 -08:00
Mark Otto
05d0e88dbb Merge pull request from StevenBlack/headings-buttongroups
docs>components>button-groups headings
2015-02-24 16:22:52 -08:00
Mark Otto
212c114bb6 Merge pull request from StevenBlack/headings-dropdowns
docs>components>dropdowns.html headings
2015-02-24 16:22:24 -08:00
Chris Rebert
eefa0ada96 Merge pull request from kkirsche/bumpMarkdownIt
Bump markdown-it to ^3.0.7
2015-02-24 15:55:26 -08:00
Chris Rebert
a1fd86cdf9 Merge pull request from twbs/time-grunt
bump time-grunt to ^1.1.0
2015-02-24 14:27:21 -08:00
Kevin Kirsche
2aab06bbaa Bump markdown it to 3.0.7
Bump markdown it to 3.0.7

3.0.7 / 2015-02-22

Match table columns count by header.
Added basic CLI support.
Added \v \f to valid whitespaces.
Use external package for unicode data (punctuation).
2015-02-24 17:20:29 -05:00
Chris Rebert
7f7c7901ae bump time-grunt to ^1.1.0 2015-02-24 14:14:59 -08:00
Chris Rebert
2a6207c0c9 Merge pull request from kkirsche/patch-8
Closes 
2015-02-24 14:11:03 -08:00