title: jQuery Desktop / Mobile tab content switcher
body: <p>I was working on a tabber plugin that changes its tab contents on window resize, e.g. I have some price tables that correspond to different tabs. The tabs content consist of price tables in image format which change layout on lower resolution. </p>
  
  <p>Everything was working fine until at one point for no obvious reason for me, the second part of the plugin stopped working.</p>
  
  <hr>
  
  <h2><strong><em>The problem is present ONLY in <a href="https://www.mozilla.org/en-US/firefox/developer/" rel="nofollow noreferrer">Firefox Developer Edition</a></em></strong></h2>
  
  <hr>
  
  <p>Here is some sample code related to the fact that the resize capture function works, but the code inside the else conditional doesn't:</p>
  
  <pre><code>$(window).on('resize',function(){
      console.log($(window).width());
      resizeCheck();
  });
  </code></pre>
  
  <p>The problem is with the mobile version, my else statement which contains the conditionals for the new layout (<strong><em>the select list with its options that link to the tabs</em></strong>) and type of the tabs is not responding. What am I supposed to do for it in order to start working? What am I doing wrong?</p>
  
  <hr>
  
  <h2>And here is a full <strong><em><a href="https://jsfiddle.net/kbv8vwnh/14/" rel="nofollow noreferrer">Fiddle.</a></em></strong></h2>
  
  <hr>