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

Unified Diff: components/dom_distiller/core/javascript/is_distillable_trigger.js

Issue 474493003: Fixing small error with is_distilable_trigger.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Auto Bots Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/javascript/is_distillable_trigger.js
diff --git a/components/dom_distiller/core/javascript/is_distillable_trigger.js b/components/dom_distiller/core/javascript/is_distillable_trigger.js
index ba0786d0ccf4df06f2c6ea5139328ee46db1b127..b09aad48d8803150df2a0fef8e310981e29b0a69 100644
--- a/components/dom_distiller/core/javascript/is_distillable_trigger.js
+++ b/components/dom_distiller/core/javascript/is_distillable_trigger.js
@@ -4,7 +4,7 @@
(function() {
var elems = document.querySelectorAll(
- 'meta[property="og:type"],meta[name=\\"og:type\\"]');
+ 'meta[property="og:type"],meta[name="og:type"]');
for (var i in elems) {
if (elems[i].content && elems[i].content.toUpperCase() == 'ARTICLE') {
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698