mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Fixed when placement is a function
This commit is contained in:
Vendored
+1
-1
@@ -115,7 +115,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
placement = typeof this.options.placement == 'function' ?
|
placement = typeof this.options.placement == 'function' ?
|
||||||
thing.call(this, $tip[0], this.$element[0]) :
|
this.options.placement.call(this, $tip[0], this.$element[0]) :
|
||||||
this.options.placement
|
this.options.placement
|
||||||
|
|
||||||
inside = /in/.test(placement)
|
inside = /in/.test(placement)
|
||||||
|
|||||||
Reference in New Issue
Block a user