mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fix typo. (#29008)
This commit is contained in:
parent
9badcf6c41
commit
fdbc63fb3f
@ -826,7 +826,7 @@ Destroys an element's modal.
|
||||
|
||||
{{< highlight js >}}
|
||||
var myModalEl = document.getElementById('myModal')
|
||||
var modal = bootstrap.Modal._getInstance(myModalEl) // Return a Bootstrap modal instance
|
||||
var modal = bootstrap.Modal._getInstance(myModalEl) // Returns a Bootstrap modal instance
|
||||
{{< /highlight >}}
|
||||
|
||||
### Events
|
||||
|
@ -351,7 +351,7 @@ Updates the position of an element's popover.
|
||||
|
||||
{{< highlight js >}}
|
||||
var exampleTriggerEl = document.getElementById('example')
|
||||
var popover = bootstrap.Popover._getInstance(exampleTriggerEl) // Return a Bootstrap popover instance
|
||||
var popover = bootstrap.Popover._getInstance(exampleTriggerEl) // Returns a Bootstrap popover instance
|
||||
{{< /highlight >}}
|
||||
|
||||
### Events
|
||||
|
Loading…
x
Reference in New Issue
Block a user