I encountered this problem as well in one of my posts. It happens when you have one or more pieces of quoted text before the spoiler, or if you have multiple spoilers.
To fix the javascript shouldn't go two nodes up and then find the second div tag in the first div tag, but just go one level up and then find the next sibling.
|