Commit 2cea94e8 authored by Renault John Lecoultre's avatar Renault John Lecoultre
Browse files

Fixed when placement is a function

parent fc053ac8
Showing with 2 additions and 2 deletions
+2 -2
......@@ -115,7 +115,7 @@
}
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
inside = /in/.test(placement)
......@@ -267,4 +267,4 @@
, template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
}
}( window.jQuery )
\ No newline at end of file
}( window.jQuery )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment