aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2017-11-27 19:23:05 +0000
committerMark Otto <[email protected]>2017-11-27 11:23:05 -0800
commit05d88ca285100e57220bdb7079a3bcbd13da87d3 (patch)
treecc6c7d8bc16c7794c8429bb37298e9e83dbfe2e8 /docs/4.0/components
parent76295676a1c073f6d2cd15f5c54b0edcbbbc14c6 (diff)
downloadbootstrap-05d88ca285100e57220bdb7079a3bcbd13da87d3.tar.xz
bootstrap-05d88ca285100e57220bdb7079a3bcbd13da87d3.zip
Fix docs horizontal scrollbar (#24878)
* Fix docs horizontal scrollbar in Components > Modal * Add overflow to docs example class * Drop the handleUpdate() variant While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
Diffstat (limited to 'docs/4.0/components')
-rw-r--r--docs/4.0/components/modal.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md
index 5a6e000e9..59ac96edf 100644
--- a/docs/4.0/components/modal.md
+++ b/docs/4.0/components/modal.md
@@ -459,7 +459,7 @@ For modals that simply appear rather than fade in to view, remove the `.fade` cl
### Dynamic heights
-If the height of a modal changes while it is open, you should call `$('#myModal').data('bs.modal').handleUpdate()` or `$('#myModal').modal('handleUpdate')` to readjust the modal's position in case a scrollbar appears.
+If the height of a modal changes while it is open, you should call `$('#myModal').modal('handleUpdate')` to readjust the modal's position in case a scrollbar appears.
### Accessibility