Closed ascott1 closed 9 years ago
This might solve an issue we don't need to solve. Hold off on merging this until we can confirm what needs to be done!
I updated this to also fix the IE internal linking bug and include the refactoring suggestions made by @KimberlyMunoz and @cmc333333.
Now when a user clicks an internal link in IE the browser window scrolls to the correct position. I've verified this in IE10.
I tested this on IE 10 and IE 11 this morning and it fixes that strange routing bug :raised_hands:, but introduces a new bug when comparing differences that can lead to long urls like this, http://localhost:3000/diff/1005-6/2012-12121/2011-11111?from_version=2011-1111#1005-6/2012-12121/2011-11111?from_version=2011-11111
.
@KimberlyMunoz my last commit should fix this. Do you mind taking a peak and merging for me once you've tested?
Sure. Going to take a look now.
Great. I just checked this across multiple Internet Explorers and it looks to be working well.
:boom: :tada: :dancers:
This should fix the bug where URL hashes weren't being appended correctly. To be totally honest I don't love the way I did this, so I'm open to feedback and criticsm @KimberlyMunoz.
I would also appreciate a thorough manual testing before merging.
Also, I'm not sure if this would effect multiple page search results and I can't test locally.