Skip to content

Fix JS error caused by removal of .load(HANDLER) in jQuery 3.0

Bitbucket Importer requested to merge bitbucket/merged-pr-23 into branch/default

Created originally on Bitbucket by Anonymous

Was already merged in Bitbucket before import, marked as merged by the import user

Update the code to use .on("load", HANDLER) to bind event handler instead.

The error manifested as jQuery trying to call .indexOf() on the event handler function. http://api.jquery.com/load-event/

Thanks for looking.

Merge request reports