mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Docs: Small enhancements (#37803)
* Consistency with the doc * Bring a class to avoid weird behavior * Consistency + Add some explaining text * fix(color)
This commit is contained in:
committed by
GitHub
parent
702a3b6a61
commit
fd1ec97bd3
@@ -488,7 +488,7 @@ exampleModal.addEventListener('show.bs.modal', event => {
|
||||
const button = event.relatedTarget
|
||||
// Extract info from data-bs-* attributes
|
||||
const recipient = button.getAttribute('data-bs-whatever')
|
||||
// If necessary, you could initiate an AJAX request here
|
||||
// If necessary, you could initiate an Ajax request here
|
||||
// and then do the updating in a callback.
|
||||
//
|
||||
// Update the modal's content.
|
||||
|
Reference in New Issue
Block a user