summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 00:39:12 +0000
committersamarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 00:39:12 +0000
commit8252ade23a82f7ce248311acfc1cd42d6ff1f824 (patch)
tree7da2e4be383f08b648130b97ae7d049ff5ba63a0
parent1eb7551bccf3c656deb5514a1b631e67258616f1 (diff)
downloadchromium_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.js2
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() {