Skip to content

Commit

Permalink
Merge pull request #9439 from Rob--W/print-event-comment
Browse files Browse the repository at this point in the history
Update comment regarding beforeprint event support
  • Loading branch information
Snuffleupagus authored Feb 5, 2018
2 parents 77135a2 + a967f31 commit 6b7e2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pdf_print_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6b7e2cb

Please sign in to comment.