5 Sep Edited #1

Autosave/Direct draft loads - 1 Error / Drafts not saving

Ultimate subscriber
I installed this plugin to my board (we are using a custom theme), and I went to go test a few things out and see how it was working, and it seems that it is not very compatible with my forum.

I also see an error in the console that states:
jquery.js?ver=1821:2 Uncaught TypeError: e.indexOf is not a function
    at w.fn.init.w.fn.load (jquery.js?ver=1821:2)
    at Thread-xxx
Along with that, if I'm not mistaken, the "Direct draft loads" is supposed to save the users last text in the quick reply/full editor of that thread/forum, however, that is also not an option for me even when the setting is enabled

PHP Version: 7.2.21
MyBB Version: 1.8.21
Shade 5 Sep
#2
It’s possible that the plugin is conflicting either with jQuery 3 or your custom theme. Either way I will check it out when I’m back.
day-day likes this post
day-day 5 Sep
#3
It’s possible that the plugin is conflicting either with jQuery 3 or your custom theme. Either way I will check it out when I’m back.
Shade (5 Sep)
Alright thanks!
day-day 10 Sep
#4
Bump for friendly reminder :)
Shade 10 Sep
#5
I will have some spare time next week.
day-day likes this post
Shade 15 Sep
#6
Share your board URL please.
day-day Yesterday, 0:17
#7
Share your board URL please.
Shade (15 Sep)
Msg’d u with it
Shade 42 minutes ago Edited
#8
Open inc/plugins/autosavedrafts.php, line 681, replace:
jQuery(window).load(function()
with:
$(document).ready(function()
The plugin is indeed very old, but will get an update as soon as possible. This will also fix Uncaught TypeError: this.atwho is not a function.
day-day Less than 1 minute ago
#9
Open inc/plugins/autosavedrafts.php, line 681, replace:
jQuery(window).load(function()
with:
$(document).ready(function()
The plugin is indeed very old, but will get an update as soon as possible. This will also fix Uncaught TypeError: this.atwho is not a function.
Shade (42 minutes ago)
Thanks that worked!

And where should I go to replace the lines for QuickReferences? I could not find jQuery(window).load(function()
in inc/plugins/quickreferences.php