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

Unified Diff: safari/include.youtube.js

Issue 5125460509851648: Added missing capture argument to removeEventListener() in YouTube content script for Safari (Closed)
Patch Set: Created April 19, 2014, 9:50 a.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/include.youtube.js
===================================================================
--- a/safari/include.youtube.js
+++ b/safari/include.youtube.js
@@ -96,7 +96,7 @@
onBeforeLoadYoutubeVideo = patchPlayer;
}
else
- document.removeEventListener("beforeload", onBeforeLoad);
+ document.removeEventListener("beforeload", onBeforeLoad, true);
});
document.addEventListener("beforeload", onBeforeLoad, 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