Skip to content

Commit 730132e

Browse files
Using self for webworkers
1 parent d088785 commit 730132e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/load-image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@
160160
} else {
161161
$.loadImage = loadImage
162162
}
163-
})((typeof window !== 'undefined' && window) || this)
163+
})((typeof window !== 'undefined' && window) || self || this)

0 commit comments

Comments
 (0)