summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:02:44 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:02:44 +0000
commit9f29ffa60a54a92d6764dcbb7d0966107f53d549 (patch)
treeeca878eec4fde27161bd29361b8807e2cf228052 /chrome
parent9dc4ca71ba8784d4576b2c14ad6fb7f6f66441e8 (diff)
downloadchromium_src-9f29ffa60a54a92d6764dcbb7d0966107f53d549.zip
chromium_src-9f29ffa60a54a92d6764dcbb7d0966107f53d549.tar.gz
chromium_src-9f29ffa60a54a92d6764dcbb7d0966107f53d549.tar.bz2
TBR:
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/new_new_tab.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index 4721d58..5ca1bd0 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -239,6 +239,7 @@ function getSectionElement(section) {
function showSection(section) {
if (!(section & shownSections)) {
shownSections |= section;
+ getSectionElement(section).classList.remove('hidden');
switch (section) {
case Section.THUMB:
@@ -249,8 +250,6 @@ function showSection(section) {
renderRecentlyClosed();
break;
}
-
- getSectionElement(section).classList.remove('hidden');
}
}