summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp/most_visited.js
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 17:21:34 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 17:21:34 +0000
commitb9b9ba33c4b5b79e408715da407cbcf207406891 (patch)
treee8fe61c2add316feb7676c7642f7d2ecdf6d0025 /chrome/browser/resources/ntp/most_visited.js
parent083b82f92be528978fff6db3d8c21913e2bc85c1 (diff)
downloadchromium_src-b9b9ba33c4b5b79e408715da407cbcf207406891.zip
chromium_src-b9b9ba33c4b5b79e408715da407cbcf207406891.tar.gz
chromium_src-b9b9ba33c4b5b79e408715da407cbcf207406891.tar.bz2
NTP: Make sure to clear the background image for fillers.
BUG=45137 TEST=See bug Review URL: http://codereview.chromium.org/2849017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50473 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp/most_visited.js')
-rw-r--r--chrome/browser/resources/ntp/most_visited.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/ntp/most_visited.js b/chrome/browser/resources/ntp/most_visited.js
index 14f23bc..23ea4b2 100644
--- a/chrome/browser/resources/ntp/most_visited.js
+++ b/chrome/browser/resources/ntp/most_visited.js
@@ -528,6 +528,7 @@ var MostVisited = (function() {
if (newClassName == 'thumbnail-container filler') {
// Make sure the user cannot tab to the filler.
t.tabIndex = -1;
+ t.querySelector('.thumbnail-wrapper').style.backgroundImage = '';
continue;
}
// Allow focus.