Commit 31b9240d authored by fat-kun's avatar fat-kun

Merge pull request #6737 from openwide-java/fix-tooltip-positioning-for-ie8

Fix tooltip positioning for IE8 broken in 2.3.0
parents cb0fed66 b7764d8a
......@@ -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())
......
Markdown is supported
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