Jetbrains PHPStorm 5.0.4 tells me I have a Duplicated jQuery Selector
<p>This is the piece of jQuery I wrote,</p>

<pre><code>$('#editUser').click(function(){
        if ($(".selectedTR")[0]){
            if($('.form-actions').is(':visible')){
                $('.form-actions').slideUp('slow',function(){
                    $('.form-actions &gt; h3').text("Edit");
                }).css('display', 'none');
            }
            $('.form-actions')
                    .css('display', 'block')
                    .slideDown('slow');
        }
        else{
            alert("Please select a user");
        }
    });
</code></pre>

<p>How can I remove the duplicated selectors?</p>
