Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1905)

Unified Diff: chrome/browser/resources/options2/inline_editable_list.js

Issue 9665012: Possible JavaScript errors caught by the closure compiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/inline_editable_list.js
diff --git a/chrome/browser/resources/options2/inline_editable_list.js b/chrome/browser/resources/options2/inline_editable_list.js
index 38719f75ffb085aefc1484c5714fe8ee00ea42d5..4ff56fb22f250c1eb5f84aaa2187136d03c3c59a 100644
--- a/chrome/browser/resources/options2/inline_editable_list.js
+++ b/chrome/browser/resources/options2/inline_editable_list.js
@@ -356,7 +356,7 @@ cr.define('options', function() {
var itemAncestor = findAncestor(document.activeElement, function(node) {
return node instanceof InlineEditableItem;
});
- if (itemAncestor);
+ if (itemAncestor)
Tyler Breisacher (Chromium) 2012/03/09 22:36:17 This one should be safe too, unless we're somehow
document.activeElement.blur();
});
}

Powered by Google App Engine
This is Rietveld 408576698