diff options
author | samarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 00:39:12 +0000 |
---|---|---|
committer | samarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 00:39:12 +0000 |
commit | 8252ade23a82f7ce248311acfc1cd42d6ff1f824 (patch) | |
tree | 7da2e4be383f08b648130b97ae7d049ff5ba63a0 | |
parent | 1eb7551bccf3c656deb5514a1b631e67258616f1 (diff) | |
download | chromium_src-8252ade23a82f7ce248311acfc1cd42d6ff1f824.zip chromium_src-8252ade23a82f7ce248311acfc1cd42d6ff1f824.tar.gz chromium_src-8252ade23a82f7ce248311acfc1cd42d6ff1f824.tar.bz2 |
Fix JS error caused https://codereview.chromium.org/14634006/.
BUG=
R=samarth@chromium.org
Review URL: https://codereview.chromium.org/15014002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198577 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/local_ntp/local_ntp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js index 4f95ee0..c4d7e2e 100644 --- a/chrome/browser/resources/local_ntp/local_ntp.js +++ b/chrome/browser/resources/local_ntp/local_ntp.js @@ -1653,7 +1653,7 @@ function init() { document.body.onclick = function(event) { if (isFakeboxClick(event)) searchboxApiHandle.startCapturingKeyStrokes(); - else if (fakeboxIsFocused()) + else if (isFakeboxFocused()) searchboxApiHandle.stopCapturingKeyStrokes(); }; searchboxApiHandle.onkeycapturechange = function() { |