Fix for b/30088807 Dashboard page repeating charts three times on mobile.

Staged: https://android-dot-devsite.googleplex.com/about/dashboards/index.html

Change-Id: Iff6820353ff6fb3ec678ddfe209b2200ab872812
This commit is contained in:
Amanda Kassay
2016-07-20 14:11:24 -04:00
parent a71fe00594
commit 83fb75ded3

View File

@@ -381,7 +381,7 @@ $(document).ready(function(){
$divtable.append($table);
$divchart.append($chart);
$div.append($divtable).append($divchart);
$("#version-chart").append($div);
$("#version-chart").replaceWith($div);
});
@@ -449,7 +449,7 @@ $(document).ready(function(){
// stack up and insert the elements
$div.append($table).append($sizechart).append($densitychart);
$("#screens-chart").append($div);
$("#screens-chart").replaceWith($div);
});
// TODO (akassay): Remove this.