jquery: fix obsolete use of load.
ref: https://jquery.com/upgrade-guide/3.0/#breaking-change-load-unload-and-error-removed
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($("#c-uploads").length) {
|
if ($("#c-uploads").length) {
|
||||||
$("#image").load(this.initialize_image);
|
$("#image").on("load", this.initialize_image);
|
||||||
this.initialize_info_bookmarklet();
|
this.initialize_info_bookmarklet();
|
||||||
this.initialize_similar();
|
this.initialize_similar();
|
||||||
this.initialize_shortcuts();
|
this.initialize_shortcuts();
|
||||||
|
|||||||
Reference in New Issue
Block a user