summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 005532a849..08a86fe6a7 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -2901,7 +2901,7 @@ public class Grid<T> extends ResizeComposite implements
* re-measure it to make sure that it's the correct height.
*/
double measuredHeight = WidgetUtil
- .getRequiredHeightBoundingClientRectDouble(spacerElement);
+ .getRequiredHeightBoundingClientRectDouble(element);
assert getElement().isOrHasChild(spacerElement) : "The spacer element wasn't in the DOM during measurement, but was assumed to be.";
spacerHeight = measuredHeight;
}