title: Error do not open links in a dropdown-menu
body: <p>I have problems in clicking on the links from a dropdown-menu</p>
  
  <p>By clicking on the link logout.php the dropdown-menu closes and does not open the link</p>
  
  <p>I can not log out, because the dropdown-menu does not allow me to follow the link, how can I solve this problem?</p>
  
  <p>My code jQuery dropdown-menu:</p>
  
  <pre><code>$(document).ready(function() {
    $('.navigation li a').click(function() {
      var parent = $(this).parent().attr('id');
      if ($('#'+parent+' .Idropdown-menu').is (':hidden')) {
        $('.Idropdown-menu').hide();
        $('#'+parent+' .Idropdown-menu').show();
      } else {
        $('.Idropdown-menu').hide();
      }
      return false;
    });
  
    $(document).on('click', function (e) {
      if ($(e.target).closest(".Idropdown-menu").length === 0) {
        $(".Idropdown-menu").hide();
      }
    });
  });
  </code></pre>
  
  <p><a href="https://jsfiddle.net/j30vd27o/1/" rel="nofollow noreferrer">Code execution https://jsfiddle.net/j30vd27o/1/</a></p>