summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 22:07:03 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 22:07:03 +0000
commit41528efa2a2fd9e199f422dffd64c95518adc838 (patch)
treee3f0da9ce83bcae06787007f93dacbe73d97a95a /chrome/browser/resources
parent353a7839dcc80e0b5df8321d1b78c955385d93ad (diff)
downloadchromium_src-41528efa2a2fd9e199f422dffd64c95518adc838.zip
chromium_src-41528efa2a2fd9e199f422dffd64c95518adc838.tar.gz
chromium_src-41528efa2a2fd9e199f422dffd64c95518adc838.tar.bz2
Changes new tab page to not make a link for recently closed
windows. It was rather bogus that we were doing this before as there is nothing for the window to link to. BUG=5836 TEST=see bug Review URL: http://codereview.chromium.org/21426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/new_tab.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index c6b4c0d..d8f5fb5 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -318,6 +318,9 @@ a.thumbnail {
.recently-closed-window-link {
'text-decoration:none';
}
+.recently-closed-window-link:hover {
+ cursor:pointer;
+}
.recently-close-window-text {
text-decoration:underline;
}
@@ -744,9 +747,7 @@ function renderRecentlyClosedTabs(entries) {
}
linkSpan.appendChild(document.createTextNode(")"));
- link = DOM('a', { href: 'window',
- className: 'recently-closed-window-link',
- title: localStrings.getString('closedWindow') } );
+ link = DOM('span', { className: 'recently-closed-window-link' } );
windowSpan = DOM('span', {className: 'recently-close-window-text'});
windowSpan.appendChild(
document.createTextNode(localStrings.getString('closedwindow')));