Bug?
|
|
TypeError: $("content") is nul is something I keep getting everytime i load a page. Occasionally this also blanks out the chapter list in the drop down menu. |
|
|
Hi Trelander, It may have been something that I might have missed out, 'cos I don't visit every single onemanga page. Kindly provide more details about the bug. 1) What page(s) were you on that triggered the error?
Thanks |
|
|
Hello there, I'm also getting the same message on every page with the newest version.
// ===== Hide reading instructions =====
try{
find= "<<<<< This series is read from right to left <<<<<";
replace= ""+find+"";
var re= new RegExp(find, "gi");
$('content').innerHTML= ($('content').innerHTML).replace(re, replace);
}catch(e){}
As you may noticed, I removed the alert in the catch block. The alert is gone, but the reading instruction is not removed. Anyway, great script. I've been searching for that. thanks! |
|
|
Yup, sorry about that. I forgot to remove the alert() for debugging purposes. At least now if the script didn't manage to hide the "reading instruction" bit the error won't appear. If you could help, which pages does the reading instructions don't get hidden? |