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); |