I thought about this for a while - why would the "book_indexing" variable not be found initially, but evidently it is found later? At least Calibre stops complaining about it later. So I though maybe this was a timing issue - when you first open the eBook you have to wait for indexing to happen, or something like that.
So I opened the eBook and walked away from 3 minutes, without hitting any keys. This should have given Calibre enough time to do whatever automatic indexing it wanted to do (since my previous tests all lasted less than one minute, I figured 3 minutes would be long enough to wait).
Anyway, after waiting those 3 minutes, the problem still occurred and the ReferenceError still showed up in the console, just as before. So I guess this proves my "timing issue" theory was a wrong assumption.
Last edited by haertig; 10-29-2017 at 12:23 AM.
Reason: Fixed typo
|