]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
10 years agoTooltip/popover: Fix auto placement to use viewport
Adrien Jarthon [Wed, 25 Mar 2015 17:05:58 +0000 (18:05 +0100)] 
Tooltip/popover: Fix auto placement to use viewport

Currently, auto placement is using the container dimensions (if provided) or the element's parent to determine where to open the tooltip:
```javascript
var $container   = this.options.container ? $(this.options.container) : this.$element.parent()
var containerDim = this.getPosition($container)
```
This is quite broken in fact, because the parent element could be just a small div outside the element for example, leading in a totally random placement (placing the tooltip on top even if there's no room). And the container can also be outside of the viewport.

This fix simply uses the viewport instead, that's the purpose of the viewport actually, to position the tooltip.
So the auto placement should use it to find where there's more room.
By default this is body, which is good.

10 years agoadd missing <code> within docs heading for `.modal('handleUpdate')`
Chris Rebert [Tue, 24 Mar 2015 22:15:21 +0000 (15:15 -0700)] 
add missing <code> within docs heading for `.modal('handleUpdate')`

10 years agoMerge pull request #15987 from twbs/fix-15972
Chris Rebert [Tue, 24 Mar 2015 15:57:56 +0000 (08:57 -0700)] 
Merge pull request #15987 from twbs/fix-15972

add role="button" to a[data-toggle="collapse"]

10 years agoMerge pull request #16140 from patrickhlauke/toggle-navigation-aria-expanded
Patrick H. Lauke [Tue, 24 Mar 2015 10:48:36 +0000 (10:48 +0000)] 
Merge pull request #16140 from patrickhlauke/toggle-navigation-aria-expanded

Add aria-expanded to navbar toggles

10 years agoAdd aria-expanded and aria-controls to docs navbar toggle 16140/head
Patrick H. Lauke [Tue, 24 Mar 2015 10:32:53 +0000 (10:32 +0000)] 
Add aria-expanded and aria-controls to docs navbar toggle

Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)

10 years agoAdd aria-expanded to navbar toggles
Patrick H. Lauke [Tue, 24 Mar 2015 10:30:12 +0000 (10:30 +0000)] 
Add aria-expanded to navbar toggles

10 years agoMerge pull request #16136 from patrickhlauke/docs-tooltip
Patrick H. Lauke [Mon, 23 Mar 2015 22:18:39 +0000 (22:18 +0000)] 
Merge pull request #16136 from patrickhlauke/docs-tooltip

Callout for tooltips and keyboard/AT accessibility

10 years agoMove all tooltip callouts into appropriate section 16136/head
Patrick H. Lauke [Mon, 23 Mar 2015 22:06:22 +0000 (22:06 +0000)] 
Move all tooltip callouts into appropriate section

Before, most callouts hierarchically came under Examples > Four
directions, which is not appropriate. Now they're under Markup

10 years agoCallout for tooltips and keyboard/AT accessibility
Patrick H. Lauke [Mon, 23 Mar 2015 21:53:30 +0000 (21:53 +0000)] 
Callout for tooltips and keyboard/AT accessibility

Include callout explicitly mentioning tooltips should only be added to
focusable elements. Closes #16134

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Sat, 21 Mar 2015 23:10:30 +0000 (23:10 +0000)] 
automatic `grunt dist`

10 years agoFix #16072: Clicking into input field within dropdown no longer closes the dropdown
Emmanuel Bourgerie [Mon, 16 Mar 2015 13:33:42 +0000 (13:33 +0000)] 
Fix #16072: Clicking into input field within dropdown no longer closes the dropdown

Closes #16073 by merging it

10 years agoFix #16117 more permanently/generically
Chris Rebert [Sat, 21 Mar 2015 22:33:13 +0000 (15:33 -0700)] 
Fix #16117 more permanently/generically

10 years agoMerge pull request #16117 from vsn4ik/inc_quick_start
Patrick H. Lauke [Sat, 21 Mar 2015 10:11:47 +0000 (10:11 +0000)] 
Merge pull request #16117 from vsn4ik/inc_quick_start

Increment quick start options to six in readme.md

10 years agoIncrement quick start options to six 16117/head
vsn4ik [Sat, 21 Mar 2015 05:21:39 +0000 (08:21 +0300)] 
Increment quick start options to six
[skip validator]
[skip sauce]

10 years agoAdd docs on how to install Bootstrap via composer
Rodrigo Prado [Fri, 20 Mar 2015 19:41:48 +0000 (16:41 -0300)] 
Add docs on how to install Bootstrap via composer

Closes #16113
Closes #16114

[skip sauce]

10 years agoMerge pull request #16107 from vikynandha/migration-doc
Chris Rebert [Thu, 19 Mar 2015 17:03:48 +0000 (10:03 -0700)] 
Merge pull request #16107 from vikynandha/migration-doc

Add `.alert-warning` related change to migration doc

10 years agoAdd `.alert-warning` related change to migration doc 16107/head
Vignesh Nandha Kumar [Thu, 19 Mar 2015 11:57:38 +0000 (17:27 +0530)] 
Add `.alert-warning` related change to migration doc

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Thu, 19 Mar 2015 05:30:30 +0000 (05:30 +0000)] 
automatic `grunt dist`

10 years agoMerge pull request #16024 from twbs/unnecessary-parsing
Chris Rebert [Thu, 19 Mar 2015 05:28:07 +0000 (22:28 -0700)] 
Merge pull request #16024 from twbs/unnecessary-parsing

avoid unnecessary HTML string building+parsing

10 years agoMerge pull request #16101 from guybedford/master
Chris Rebert [Thu, 19 Mar 2015 05:04:54 +0000 (22:04 -0700)] 
Merge pull request #16101 from guybedford/master

Update jspm configuration

10 years agoupdate jspm configuration 16101/head
Guy Bedford [Wed, 18 Mar 2015 10:59:55 +0000 (12:59 +0200)] 
update jspm configuration

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Mon, 16 Mar 2015 15:50:28 +0000 (15:50 +0000)] 
automatic `grunt dist`

10 years agofull grunt v3.3.4
Chris Rebert [Mon, 16 Mar 2015 15:44:41 +0000 (08:44 -0700)] 
full grunt

10 years agoBootstrapCDN: v3.3.2 => v3.3.4
Chris Rebert [Mon, 16 Mar 2015 15:41:00 +0000 (08:41 -0700)] 
BootstrapCDN: v3.3.2 => v3.3.4

10 years agoSass: v3.3.3 => v3.3.4
Chris Rebert [Mon, 16 Mar 2015 15:40:34 +0000 (08:40 -0700)] 
Sass: v3.3.3 => v3.3.4

10 years agov3.3.2 => v3.3.4
Chris Rebert [Mon, 16 Mar 2015 15:39:31 +0000 (08:39 -0700)] 
v3.3.2 => v3.3.4

10 years agoClarify that role="button" is required for dismiss-on-next-click popovers
Chris Rebert [Mon, 16 Mar 2015 07:57:23 +0000 (00:57 -0700)] 
Clarify that role="button" is required for dismiss-on-next-click popovers

Refs #15947

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Sun, 15 Mar 2015 21:50:31 +0000 (21:50 +0000)] 
automatic `grunt dist`

10 years agoMerge pull request #16043 from maxstorm/backward-scrolling
Chris Rebert [Sun, 15 Mar 2015 21:47:00 +0000 (14:47 -0700)] 
Merge pull request #16043 from maxstorm/backward-scrolling

ScrollSpy: Fixed proper nav element selection when scrolling upwards

10 years agoBump bootstrap-sass download link to Sass-specific v3.3.3
Chris Rebert [Sun, 15 Mar 2015 12:07:48 +0000 (05:07 -0700)] 
Bump bootstrap-sass download link to Sass-specific v3.3.3

bootstrap-sass v3.3.2 is broken.
Refs https://github.com/twbs/bootstrap-sass/issues/862
Refs https://github.com/twbs/bootstrap-sass/releases/tag/v3.3.3
Refs https://github.com/twbs/bootstrap-sass/commit/daeb43dcc7b0ab06328acaca0549ee68c039aaa6

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Sun, 15 Mar 2015 11:30:30 +0000 (11:30 +0000)] 
automatic `grunt dist`

10 years agoRun `grunt`.
XhmikosR [Sat, 14 Mar 2015 11:23:53 +0000 (13:23 +0200)] 
Run `grunt`.

10 years agoBump devDependencies.
XhmikosR [Thu, 5 Mar 2015 22:24:17 +0000 (00:24 +0200)] 
Bump devDependencies.

10 years agoDocument that .progress-bar-striped doesn't work in IE<=9; fixes #16058
Chris Rebert [Fri, 13 Mar 2015 20:53:12 +0000 (13:53 -0700)] 
Document that .progress-bar-striped doesn't work in IE<=9; fixes #16058

[skip sauce]

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Tue, 10 Mar 2015 20:20:23 +0000 (20:20 +0000)] 
automatic `grunt dist`

10 years agoRemove trailing whitespace in forms.less
Gleb Mazovetskiy [Tue, 10 Mar 2015 20:16:10 +0000 (20:16 +0000)] 
Remove trailing whitespace in forms.less

10 years agoFixed proper navigation element selection on backward scrolling (from the bottom... 16043/head
Maxim Andrukhovych [Tue, 10 Mar 2015 20:04:15 +0000 (20:04 +0000)] 
Fixed proper navigation element selection on backward scrolling (from the bottom to the top)

10 years agoautomatic `grunt dist`
Bootstrap's Grunt bot [Tue, 10 Mar 2015 18:50:26 +0000 (18:50 +0000)] 
automatic `grunt dist`

10 years agoMerge pull request #16042 from jpkleemans/patch-1
Patrick H. Lauke [Tue, 10 Mar 2015 18:41:16 +0000 (18:41 +0000)] 
Merge pull request #16042 from jpkleemans/patch-1

Increment quick start options in readme.md to five

10 years agoIncrement quick start options to five 16042/head
Jan-Paul Kleemans [Tue, 10 Mar 2015 17:57:02 +0000 (18:57 +0100)] 
Increment quick start options to five

10 years agoMerge pull request #16036 from twbs/cr-readonly-focus-outline-bug
Chris Rebert [Tue, 10 Mar 2015 10:39:51 +0000 (03:39 -0700)] 
Merge pull request #16036 from twbs/cr-readonly-focus-outline-bug

Add Wall of Browser Bugs entry for #16022

10 years agoAdd Wall of Browser Bugs entry for #16022 16036/head
Chris Rebert [Tue, 10 Mar 2015 10:29:58 +0000 (03:29 -0700)] 
Add Wall of Browser Bugs entry for #16022

[skip sauce]
[skip validator]

10 years agoMerge pull request #16012 from twbs/refs-12761
Chris Rebert [Tue, 10 Mar 2015 00:47:51 +0000 (17:47 -0700)] 
Merge pull request #16012 from twbs/refs-12761

Disable jQuery event aliases when running test suite

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 9 Mar 2015 16:21:12 +0000 (16:21 +0000)] 
automatic grunt dist

10 years agoMerge pull request #16021 from twbs/visibility-block
Chris Rebert [Mon, 9 Mar 2015 16:14:16 +0000 (09:14 -0700)] 
Merge pull request #16021 from twbs/visibility-block

rm `visibility` where redundant to `display`

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 9 Mar 2015 14:03:04 +0000 (14:03 +0000)] 
automatic grunt dist

10 years agoMerge pull request #16023 from twbs/doc-body
Chris Rebert [Mon, 9 Mar 2015 13:58:03 +0000 (06:58 -0700)] 
Merge pull request #16023 from twbs/doc-body

Affix: $('body') => $(document.body)

10 years agoavoid unnecessary HTML string building+parsing 16024/head
Chris Rebert [Mon, 9 Mar 2015 13:47:34 +0000 (06:47 -0700)] 
avoid unnecessary HTML string building+parsing

10 years agoAffix: $('body') => $(document.body) 16023/head
Chris Rebert [Mon, 9 Mar 2015 13:43:41 +0000 (06:43 -0700)] 
Affix: $('body') => $(document.body)

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 9 Mar 2015 08:41:21 +0000 (08:41 +0000)] 
automatic grunt dist

10 years agorm `visibility` where redundant to `display` 16021/head
Chris Rebert [Mon, 9 Mar 2015 08:39:43 +0000 (01:39 -0700)] 
rm `visibility` where redundant to `display`

Refs #15755

10 years agoMerge pull request #15755 from jitendravyas/master
Chris Rebert [Mon, 9 Mar 2015 08:36:00 +0000 (01:36 -0700)] 
Merge pull request #15755 from jitendravyas/master

Removed `visibility: hidden !important` from `.hidden` class

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 9 Mar 2015 08:11:37 +0000 (08:11 +0000)] 
automatic grunt dist

10 years agoDisable jQuery event aliases when running test suite 16012/head
Chris Rebert [Fri, 6 Mar 2015 12:34:28 +0000 (04:34 -0800)] 
Disable jQuery event aliases when running test suite

To ensure that we don't accidentally use any of the aliases.
This should prevent any future regressions from #12761.
Also updates the test suite since it now can't use these aliases either.

10 years agoMerge pull request #16011 from twbs/fix-15315
Chris Rebert [Mon, 9 Mar 2015 08:03:27 +0000 (01:03 -0700)] 
Merge pull request #16011 from twbs/fix-15315

.collapse('hide') on hidden uninit-ed collapsible no longer shows it

10 years agoMerge pull request #16018 from twbs/modal-visual
Chris Rebert [Mon, 9 Mar 2015 04:33:25 +0000 (21:33 -0700)] 
Merge pull request #16018 from twbs/modal-visual

Enhancements to Modal visual test

10 years agoadd TODO item regarding clean-css v3.2 & zeroUnits
Chris Rebert [Mon, 9 Mar 2015 04:31:58 +0000 (21:31 -0700)] 
add TODO item regarding clean-css v3.2 & zeroUnits

Refs https://github.com/twbs/bootstrap/issues/14837#issuecomment-77441999

10 years agoadd togglable scrollbar-inducing content to Modal visual test 16018/head
Chris Rebert [Sat, 7 Mar 2015 14:40:57 +0000 (06:40 -0800)] 
add togglable scrollbar-inducing content to Modal visual test

10 years agoadd static navbar to Modal visual test
Chris Rebert [Sat, 7 Mar 2015 14:29:46 +0000 (06:29 -0800)] 
add static navbar to Modal visual test

10 years ago.gitignore: Remove obsolete files.
XhmikosR [Sat, 7 Mar 2015 08:11:28 +0000 (10:11 +0200)] 
.gitignore: Remove obsolete files.

They are grunt-html-validation leftovers.

[ci skip]

10 years agoMerge pull request #15999 from twbs/kkirsche-includeTestsReadme
Chris Rebert [Sat, 7 Mar 2015 07:28:30 +0000 (23:28 -0800)] 
Merge pull request #15999 from twbs/kkirsche-includeTestsReadme

Document JS test suite basics

10 years ago[Fixes #15951] Document JS test suite basics 15999/head
Kevin Kirsche [Sun, 1 Mar 2015 03:54:58 +0000 (22:54 -0500)] 
[Fixes #15951] Document JS test suite basics

X-Ref: #15953
Closes #15952 by merging a tweaked version of it.
[skip sauce]
[skip validator]

10 years agoCollapse unit test: rm check that no-op hide adds style="height: 0px" 16011/head
Chris Rebert [Fri, 6 Mar 2015 15:01:12 +0000 (07:01 -0800)] 
Collapse unit test: rm check that no-op hide adds style="height: 0px"

Appears to be unnecessary and is broken by #16011,
which is otherwise quite sane.

10 years ago.collapse('hide') on hidden uninit-ed collapsible no longer shows it; fixes #15315
Chris Rebert [Fri, 6 Mar 2015 11:05:30 +0000 (03:05 -0800)] 
.collapse('hide') on hidden uninit-ed collapsible no longer shows it; fixes #15315

Thanks to @peterblazejewicz & @Nikita240
Adds unit tests based on #14417
X-Ref: #14282
Closes #15807

10 years agoMerge pull request #16007 from molly/master
Chris Rebert [Fri, 6 Mar 2015 00:42:12 +0000 (16:42 -0800)] 
Merge pull request #16007 from molly/master

Update initial release announcement dead link

10 years agoRemove dead link to release announcement 16007/head
Molly White [Thu, 5 Mar 2015 20:25:05 +0000 (15:25 -0500)] 
Remove dead link to release announcement

Found it! They just changed the link.

10 years agoMerge pull request #16004 from kkirsche/patch-2
Julian Thilo [Thu, 5 Mar 2015 18:40:33 +0000 (18:40 +0000)] 
Merge pull request #16004 from kkirsche/patch-2

[Fix #16001] Add link to Vietnamese translation

10 years ago[Fix #16001] Add link to Vietnamese translation 16004/head
Kevin Kirsche [Thu, 5 Mar 2015 14:39:47 +0000 (09:39 -0500)] 
[Fix #16001] Add link to Vietnamese translation

[Fix #16001] Add link to Vietnamese translation

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Wed, 4 Mar 2015 09:41:15 +0000 (09:41 +0000)] 
automatic grunt dist

10 years agoMerge pull request #15988 from twbs/fix-15874
Chris Rebert [Wed, 4 Mar 2015 09:40:01 +0000 (01:40 -0800)] 
Merge pull request #15988 from twbs/fix-15874

Hiding an uninitialized tooltip/popover no longer initializes it

10 years agoHiding an uninitialized tooltip/popover no longer initializes it; fixes #15874 15988/head
Chris Rebert [Tue, 3 Mar 2015 21:32:24 +0000 (13:32 -0800)] 
Hiding an uninitialized tooltip/popover no longer initializes it; fixes #15874

10 years agoadd role="button" to a[data-toggle="collapse"]; fixes #15972 15987/head
Chris Rebert [Tue, 3 Mar 2015 21:18:36 +0000 (13:18 -0800)] 
add role="button" to a[data-toggle="collapse"]; fixes #15972

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Tue, 3 Mar 2015 21:11:15 +0000 (21:11 +0000)] 
automatic grunt dist

10 years agorm semicolon for sake of fat's eccentric tastes
Chris Rebert [Tue, 3 Mar 2015 21:06:25 +0000 (13:06 -0800)] 
rm semicolon for sake of fat's eccentric tastes

Erratum from #15496

10 years agoAccessibility and headings hierarchy for the "CSS" page.
Steven Black [Sat, 28 Feb 2015 23:59:54 +0000 (01:59 +0200)] 
Accessibility and headings hierarchy for the "CSS" page.

Closes #15948 by merging it.

10 years agoAccessibility and headings hierarchy for the "Getting started" page.
Steven Black [Fri, 27 Feb 2015 18:36:51 +0000 (20:36 +0200)] 
Accessibility and headings hierarchy for the "Getting started" page.

Closes #15946 by merging it.

10 years agoJavascript docs: Accessibility and cosmetic changes to headings.
Steven Black [Wed, 25 Feb 2015 02:00:37 +0000 (04:00 +0200)] 
Javascript docs: Accessibility and cosmetic changes to headings.

Closes #15915 by merging it.

10 years agoMerge pull request #15961 from kkirsche/ImplementAssertExpect
Heinrich Fenkart [Tue, 3 Mar 2015 14:52:05 +0000 (15:52 +0100)] 
Merge pull request #15961 from kkirsche/ImplementAssertExpect

[Fixes #15953] Implement assert.expect in each unit test

10 years ago[Fixes #15953] Implement assert.expect in each unit test 15961/head
Kevin Kirsche [Sun, 1 Mar 2015 14:33:48 +0000 (09:33 -0500)] 
[Fixes #15953] Implement assert.expect in each unit test

[Fixes #15953] Implement `assert.expect` in each unit test

10 years agoMerge pull request #15984 from twbs/document-handleupdate
Heinrich Fenkart [Tue, 3 Mar 2015 06:03:42 +0000 (07:03 +0100)] 
Merge pull request #15984 from twbs/document-handleupdate

Properly document Modal#handleUpdate

10 years agoProperly document Modal#handleUpdate 15984/head
Heinrich Fenkart [Tue, 3 Mar 2015 05:45:38 +0000 (06:45 +0100)] 
Properly document Modal#handleUpdate

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Tue, 3 Mar 2015 05:01:43 +0000 (05:01 +0000)] 
automatic grunt dist

10 years agoMerge pull request #15881 from twbs/fix-modal-backdrop
Heinrich Fenkart [Tue, 3 Mar 2015 04:54:03 +0000 (05:54 +0100)] 
Merge pull request #15881 from twbs/fix-modal-backdrop

Modal: Fix backdrop not readjusting when height changes

10 years agoModal: Fix backdrop not readjusting when height changes 15881/head
Heinrich Fenkart [Tue, 24 Feb 2015 00:00:04 +0000 (01:00 +0100)] 
Modal: Fix backdrop not readjusting when height changes

Fixes #15136.
Closes #15345.
Closes #15314.
Refs #14724, #14927.

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 2 Mar 2015 14:51:23 +0000 (14:51 +0000)] 
automatic grunt dist

10 years agoMerge pull request #15974 from patrickhlauke/ios-click-fix-role-button2
Patrick H. Lauke [Mon, 2 Mar 2015 14:42:39 +0000 (14:42 +0000)] 
Merge pull request #15974 from patrickhlauke/ios-click-fix-role-button2

Add upstream patch comment for #15947

10 years agoAdd upstream patch comment 15974/head
Patrick H. Lauke [Mon, 2 Mar 2015 14:36:36 +0000 (14:36 +0000)] 
Add upstream patch comment

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 2 Mar 2015 12:41:16 +0000 (12:41 +0000)] 
automatic grunt dist

10 years agoMerge pull request #15947 from patrickhlauke/ios-click-fix-role-button
Patrick H. Lauke [Mon, 2 Mar 2015 12:35:33 +0000 (12:35 +0000)] 
Merge pull request #15947 from patrickhlauke/ios-click-fix-role-button

iOS fix for role="button" elements; [fixes #15935]

10 years agoMerge pull request #15970 from twbs/the-future-is-now-qunit
Chris Rebert [Mon, 2 Mar 2015 10:39:29 +0000 (02:39 -0800)] 
Merge pull request #15970 from twbs/the-future-is-now-qunit

Disable deprecated QUnit global methods

10 years agoDisable es3 for tests and customizer.js.
XhmikosR [Sun, 1 Mar 2015 20:35:43 +0000 (22:35 +0200)] 
Disable es3 for tests and customizer.js.

10 years agoRun `grunt`.
XhmikosR [Sun, 1 Mar 2015 19:15:22 +0000 (21:15 +0200)] 
Run `grunt`.

10 years agoDisable deprecated global QUnit method aliases to prevent backsliding on QUnit v2... 15970/head
Chris Rebert [Mon, 2 Mar 2015 03:48:06 +0000 (19:48 -0800)] 
Disable deprecated global QUnit method aliases to prevent backsliding on QUnit v2 readiness

10 years agoMerge pull request #15955 from twbs/fixture-on-screen-ios
Chris Rebert [Mon, 2 Mar 2015 02:28:46 +0000 (18:28 -0800)] 
Merge pull request #15955 from twbs/fixture-on-screen-ios

Unit tests: Only display fixture on-screen for iOS

10 years agoautomatic grunt dist
Bootstrap's Grunt bot [Mon, 2 Mar 2015 00:11:14 +0000 (00:11 +0000)] 
automatic grunt dist

10 years agoMerge pull request #15593 from neoeno/handle_multiple_zero_offset_scrollspy_elements
Chris Rebert [Mon, 2 Mar 2015 00:04:04 +0000 (16:04 -0800)] 
Merge pull request #15593 from neoeno/handle_multiple_zero_offset_scrollspy_elements

Handle multiple zero-offset Scrollspy elements.

10 years agoHandle multiple zero-offset Scrollspy elements. 15593/head
Caden Lovelace [Sat, 17 Jan 2015 01:14:22 +0000 (01:14 +0000)] 
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.

10 years agoMerge pull request #15965 from kkirsche/fixURL
Chris Rebert [Sun, 1 Mar 2015 22:32:31 +0000 (14:32 -0800)] 
Merge pull request #15965 from kkirsche/fixURL

[Docs / README] Fix URL to match the plugin keyword recommendation

10 years agoMerge pull request #15964 from kkirsche/addAccidentlyRemovedText
Chris Rebert [Sun, 1 Mar 2015 22:27:04 +0000 (14:27 -0800)] 
Merge pull request #15964 from kkirsche/addAccidentlyRemovedText

[Docs] Replace accidently removed tooltip / popover text

10 years agoFix URL to match the keyword 15965/head
Kevin Kirsche [Sun, 1 Mar 2015 21:44:13 +0000 (16:44 -0500)] 
Fix URL to match the keyword

Fix URL to match the keyword