location.hash disappears immediately
<p>I'm building a live search + filter method, and I've noticed when I use that method (it's an example) that hash after it shows in the URL - it is immediately being removed. If I move that hash set to e.g. button's click method it works fine. Why ?</p>

<pre><code>$('.menu-link').click(function () {            
        window.location.hash = 'search-container';
});
</code></pre>
