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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user