Use PDFView.error to avoid issues with alert.
This commit is contained in:
parent
d32906adc4
commit
e0378530e2
@ -1058,7 +1058,7 @@ var PDFView = {
|
||||
if (!this.supportsPrinting) {
|
||||
var printMessage = mozL10n.get('printing_not_supported', null,
|
||||
'Warning: Printing is not fully supported by this browser.');
|
||||
alert(printMessage);
|
||||
this.error(printMessage);
|
||||
return;
|
||||
}
|
||||
var body = document.querySelector('body');
|
||||
|
Loading…
Reference in New Issue
Block a user