diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 15:08:49 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 15:08:49 +0000 |
commit | dd516b77b5ef0f535a90ea307a8d8cff2ee7d6ca (patch) | |
tree | 2baf0165e761c75fc8462fe5bd3e2b0c85ef72e1 /chrome | |
parent | 057a9a96a6ab08df982136e2dbfbe6785b327e06 (diff) | |
download | chromium_src-dd516b77b5ef0f535a90ea307a8d8cff2ee7d6ca.zip chromium_src-dd516b77b5ef0f535a90ea307a8d8cff2ee7d6ca.tar.gz chromium_src-dd516b77b5ef0f535a90ea307a8d8cff2ee7d6ca.tar.bz2 |
Fixes bug in history where if you didn't have history results for the
current day we would never show any results.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/42196
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/history.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/history.html b/chrome/browser/resources/history.html index cf88429..d48f4c8c 100644 --- a/chrome/browser/resources/history.html +++ b/chrome/browser/resources/history.html @@ -298,9 +298,9 @@ HistoryModel.prototype.addResults = function(info, results) { lastURL = thisURL; } } + if (results.length) + this.changed = true; } - if (results.length) - this.changed = true; this.updateSearch_(info.finished); } |