mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-24 08:46:48 +08:00
Replacing deprecated jQuery event alias with .on() method in the ImageEditor (#8871)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
var awaiting = [];
|
||||
|
||||
$(imeImage).load(function () {
|
||||
$(imeImage).on('load', function () {
|
||||
$(imeImage).off('load');
|
||||
for (var i = 0; i < awaiting.length; i++) {
|
||||
awaiting[i]();
|
||||
|
||||
Reference in New Issue
Block a user