From 7233c820842a903441c16fcf1ae134e4a8428f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 20 Mar 2014 17:20:10 +0100 Subject: [PATCH] Fix wrong call of _clearBoundsCache() on child. Closes #426. --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index 7b1fdc8c..b243f42a 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -1023,7 +1023,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ // the cache for this child's children is not valid anymore, // that propagates up the DOM tree. if (child !== item && child._boundsCache) - child._clearBoundsCache(); + Item._clearBoundsCache(child); } item._boundsCache = undefined; }