title: Checking a data-attribute and applying logic is failing to work
body: <p>In each div - <code>smallCatalogBlock</code>, I have a data attributed called <code>data-availability</code> with either a 'Yes' or 'No'. I am attempting to check the value of the data attribute. If it is no, I am wanting the <code>catalogSmallCircle</code>, specifically for that div to be hidden.</p>
  
  <p>So far, nothing is happening.</p>
  
  <p>Does anyone see what I am doing wrong? Based on what I am attempting, the buttons for "Fastening Technology" should be hidden.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var availability = $('.smallCatalogBlock').data('availability');
  $('.smallCatalogBlock').each(function(index, catalogBlock){
    catalogName = $(catalogBlock).data('fill-specs');
    console.log('catalog name ' + catalogName);
    if (availability == 'No') {
     console.log(availability);
     $('.catalogSmallCircle').hide();
    }
    //Filling Circle
    $('.catalogSmallCircle', catalogBlock).html(
     '&lt;div class="catalogSmallCircleIn" data-catalog-name='+ catalogName +'&gt;&lt;div class="total-center"&gt;&lt;div class="circlePlus"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="catalogCircleExpand"&gt;&lt;div class="catalogExpandClose"&gt;&lt;/div&gt;&lt;div class="total-center expandText"&gt;&lt;span class="catalogName pdfSubHeader"&gt;&lt;/span&gt;&lt;p class="dGw circleExpandText"&gt;&lt;/p&gt;&lt;button class="catalogDownload downloadButton" name="Profile_Catalog" data-catalog-now="Profile Small Catalog Button" data-catalog-view-name="Profile Catalog"&gt;View&lt;/button&gt;&lt;button class="catalogDownload requestButton" data-catalog-name="'+ catalogName +'"&gt;Request&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;'
    )
   });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="smallCatalogWrap"&gt;
    &lt;div class="smallCatalogBlock" data-fill-specs="Profile-Catalog" data-availability="Yes"&gt;
      &lt;span class="smallCatalogTitle"&gt;Profiles and Caps&lt;/span&gt;
      &lt;div class="smallCatalogButtonWrap"&gt;
        &lt;div class="catalogSmallCircle"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;div class="smallCatalogBlock comingSoonSmall" data-fill-specs="Fastening Technology" data-availability="No"&gt;
      &lt;span class="smallCatalogTitle"&gt;Fastening Technology&lt;/span&gt;
      &lt;div class="smallCatalogButtonWrap"&gt;
        &lt;div class="catalogSmallCircle"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>