Fixed when placement is a function

This commit is contained in:
Renault John Lecoultre 2012-01-13 22:33:05 +01:00
parent fc053ac8b2
commit 2cea94e892

View File

@ -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)