mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 15:52:56 +10:00
bump version to v4.4.8
This commit is contained in:
@ -145,7 +145,7 @@ export class PrinterService {
|
||||
Promise.all(
|
||||
// eslint-disable-next-line unicorn/prefer-spread
|
||||
Array.from(document.images).map((img) => {
|
||||
if (img.complete) return;
|
||||
if (img.complete) return Promise.resolve();
|
||||
return new Promise((resolve) => {
|
||||
// eslint-disable-next-line unicorn/prefer-add-event-listener
|
||||
img.onload = img.onerror = resolve;
|
||||
|
||||
Reference in New Issue
Block a user