summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Amanda Kassay <akassay@google.com> 2016-07-20 14:11:24 -0400
committer Amanda Kassay <akassay@google.com> 2016-07-20 18:12:37 +0000
commit83fb75ded33aa64f40d4b8522b9868e740ccff2d (patch)
treebe5c1910dd1136790b9c06a0633091e8fd7356c8
parenta71fe00594dec53048bfdb223365e532fd52afa8 (diff)
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
-rw-r--r--docs/html/about/dashboards/index.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/about/dashboards/index.jd b/docs/html/about/dashboards/index.jd
index a9f1985da9ce..3cbfde9cc386 100644
--- a/docs/html/about/dashboards/index.jd
+++ b/docs/html/about/dashboards/index.jd
@@ -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.