Commit b7764d8a authored by Guillaume Smet's avatar Guillaume Smet
Browse files

Fix tooltip positioning for IE8

IE8 defines a placeholder object getBoundingClientRect which breaks the new getPosition() method
parent ab0c055b
Showing with 1 addition and 1 deletion
+1 -1
......@@ -212,7 +212,7 @@
, getPosition: function () {
var el = this.$element[0]
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
width: el.offsetWidth
, height: el.offsetHeight
}, this.$element.offset())
......
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