1 Answer
1

You have to track DOM changes and re-add your code after the auto-save. There is another answer that gives a quick intro to DOMNodeInserted events. You should be able to watch for the Draft saved at ... insert.