.focusout() only reading through first if() statement
<p>Why is this not reading through both if statements even though they are both true?</p>

<p><strong>HTML</strong></p>

<pre><code>&lt;textarea name="test"&gt;
  Focus out to test prompts
&lt;/textarea&gt;
</code></pre>

<p><strong>jQuery</strong></p>

<pre><code>var disableA = 1;
var disableB = 1;

$('textarea[name="test"]').focusout(function() {
    if (disableA == 1) {
        disableX();
    }
    if (disableB == 1) {
        disableY();
    }
});

function disableX() {
    alert('A is disabled');   
}

function disabledY() {
    alert('B is disabled');   
}
</code></pre>

<p>Right now it will call for <code>disableX();</code> but not <code>disableY()</code></p>

<p><strong>jsFiddle:</strong> <a href="http://jsfiddle.net/nCQQm/" rel="nofollow">http://jsfiddle.net/nCQQm/</a></p>
