Skip to content

Commit ee6bfb5

Browse files
committed
Remove deprecated function call
.load is deprecated in jQuery. Use .on('load', ...) instead. https://openscience.atlassian.net/browse/OSF-8380
1 parent f7f5fec commit ee6bfb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfr/server/static/js/mfr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
self.pymParent.iframe.setAttribute('scrolling', 'yes');
8383

8484
self.pymParent.el.appendChild(self.spinner);
85-
$(self.pymParent.iframe).load(function () {
85+
$(self.pymParent.iframe).on('load', function () {
8686
self.pymParent.el.removeChild(self.spinner);
8787
});
8888

0 commit comments

Comments
 (0)