Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/include.youtube.js

Issue 29348917: Issue 4191 - Restore rules for reinjected stylesheets (Closed)
Patch Set: runInDocument Created Aug. 11, 2016, 1:03 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include.preload.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/include.youtube.js
diff --git a/safari/include.youtube.js b/safari/include.youtube.js
index cf73e65c77fa497145137bfbf1ce66d8dbd0631c..1d5b668b284dda73c0a8361a48cdca9ed6a72aa5 100644
--- a/safari/include.youtube.js
+++ b/safari/include.youtube.js
@@ -92,7 +92,7 @@
patchPlayer(event.target);
}, true);
- runInPage(function(badArgumentsRegexSource)
+ runInDocument(document, function(badArgumentsRegexSource)
{
var badArgumentsRegex = new RegExp(badArgumentsRegexSource);
« no previous file with comments | « include.preload.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld