summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_new_tab.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/new_new_tab.js')
-rw-r--r--chrome/browser/resources/new_new_tab.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index a130105..7c98c21 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -728,6 +728,7 @@ function syncMessageChanged(newMessage) {
// Hide the section if the message is emtpy.
if (!newMessage.syncsectionisvisible) {
+ style.display = 'none';
return;
}
style.display = 'block';