Remove hack to prevent vanishing statistics button when modifying the builder object on root
Change-Id: I89d7df6d303983918e16b8b04b34895df5466897
diff --git a/dev/js/spec/statSpec.js b/dev/js/spec/statSpec.js
index 94be3f2..cb9d713 100644
--- a/dev/js/spec/statSpec.js
+++ b/dev/js/spec/statSpec.js
@@ -164,7 +164,7 @@
expect(show.querySelector(".statistic").tagName).toEqual("SPAN");
- var and = vc.element().firstChild.lastChild.firstChild;
+ var and = vc.builder().lastChild.firstChild;
// Click on and() in VC
and.click();