mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +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 >}}
|
{{< highlight js >}}
|
||||||
var myModalEl = document.getElementById('myModal')
|
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 >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
@ -351,7 +351,7 @@ Updates the position of an element's popover.
|
|||||||
|
|
||||||
{{< highlight js >}}
|
{{< highlight js >}}
|
||||||
var exampleTriggerEl = document.getElementById('example')
|
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 >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
Loading…
x
Reference in New Issue
Block a user