Merge pull request #9439 from Rob--W/print-event-comment

Update comment regarding beforeprint event support
This commit is contained in:
Jonas Jenwald 2018-02-05 15:49:00 +01:00 committed by GitHub
commit 6b7e2cbcd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,7 +301,7 @@ if (hasAttachEvent) {
if ('onbeforeprint' in window) {
// Do not propagate before/afterprint events when they are not triggered
// from within this polyfill. (FF/IE).
// from within this polyfill. (FF /IE / Chrome 63+).
let stopPropagationIfNeeded = function(event) {
if (event.detail !== 'custom' && event.stopImmediatePropagation) {
event.stopImmediatePropagation();