Comment 20 for bug 1424815

Revision history for this message
Kyle Huckins (khuckins) wrote :

Taking a vanilla JS approach to this, I ended up backtracking and retreading some of the waters that have been tread in previous attempts at this functionality. I've updated the above branch with a solution that may be a bit hacky: it temporarily strips the <b>, classes and all, then performs the initially implemented accordion script, then reapplies the highlighting using the query parameter in the URL. Without a refactor of how highlighting works, I'm not sure of a better way to do this. The branch is still in a WIP state, but as it stands, the code is now friendly toward highlighting. The primary issue is ensuring the content displays in the proper location, which I'm nearing a fix on.