2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

clear interval in cycle + rebuild

This commit is contained in:
fat
2013-02-05 20:34:39 -08:00
parent 566380b257
commit a866a51a2e
6 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -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())