Click fadeToggle in jQuery
<p>I have a problem with fadeToggle() in jQuery when clicking on an element .. for example this code : </p>

<p>HTML :</p>

<pre><code>&lt;div class="element"&gt;&lt;/div&gt;
&lt;div class="submenu"&gt;this is submenu&lt;/div&gt;
</code></pre>

<p>jQuery : </p>

<pre><code>$('.element').click(function(){


    $('.submenu').fadeToggle();

});
</code></pre>

<p>The problem is when i click on $('.element') multiple times the element blinks multiple times after clicking .. so what to do to fix that ? </p>

<p>Try to click multiple times : <a href="https://jsfiddle.net/ty6s2ymL/" rel="nofollow">https://jsfiddle.net/ty6s2ymL/</a></p>