aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenault John Lecoultre <[email protected]>2012-01-13 22:33:05 +0100
committerRenault John Lecoultre <[email protected]>2012-01-13 22:33:05 +0100
commit2cea94e892eabbe5edbca3a51347af57621d672d (patch)
tree88b4e7109cf24b125f7a46ce2424efacce3a06fb
parentfc053ac8b27611e3dc7fae769ce28f154250d50e (diff)
downloadbootstrap-2cea94e892eabbe5edbca3a51347af57621d672d.tar.xz
bootstrap-2cea94e892eabbe5edbca3a51347af57621d672d.zip
Fixed when placement is a function
-rw-r--r--js/bootstrap-tooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 241a44e24..8ce30ab82 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -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 )