$(document).ready(function () {

  //Changing text of follow button
  $(".forceChatterChatterFollow .follow .slds-text-not-selected").html("Follow this Topic");
  //alert($(".forceChatterChatterFollow .follow .slds-text-not-selected").innerHTML);						   
  //Youtube Video Responsive
  $('.site-body iframe[src*="youtube.com"]').each(function () {
    $(this).wrap('<div class="video-responsive"/>');
  });

  //Nav toggle
  $(".toggle-nav").click(function (e) {
    $(".site-header__nav").slideToggle();
    e.preventDefault();
  });

  //Article Footnotes toggle
  $(".article__footnotes .slds-button").click(function (e) {
    $(".article__footnotes .uiOutputRichText").slideToggle();
    e.preventDefault();
  });

});