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:
evazion
2018-04-27 00:38:46 -05:00
parent 3ef23faae2
commit 6ab58104d4

View File

@@ -8,7 +8,7 @@
}
if ($("#c-uploads").length) {
$("#image").load(this.initialize_image);
$("#image").on("load", this.initialize_image);
this.initialize_info_bookmarklet();
this.initialize_similar();
this.initialize_shortcuts();