cms/app-client/app/components/discourses-component.js
changeset 267 a2872152f568
parent 266 0e1880fa7bd3
child 278 f2c2c80a49f7
--- a/cms/app-client/app/components/discourses-component.js	Wed Aug 24 17:48:50 2016 +0200
+++ b/cms/app-client/app/components/discourses-component.js	Wed Aug 24 17:56:21 2016 +0200
@@ -23,7 +23,7 @@
             var newMin = Math.floor((average - oldMin)), newMax = Math.floor((oldMax - average));
 
             var width = self.$().parent().width();
-            var height = self.$().parent().height() - self.$().siblings().height();
+            var height = self.$().parent().height() - self.$().siblings().outerHeight(true);
 
             var bubble = d3.layout.pack()
                 .sort(function comparator(a, b) { return a.value + b.value; })