mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #9439 from Rob--W/print-event-comment
Update comment regarding beforeprint event support
This commit is contained in:
commit
6b7e2cbcd1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue