/* remove webfont for chrome on windows */

(function() {
  'use strict';

  document.addEventListener('DOMContentLoaded', function() {
    // don't use webfont for chrome on windows since its font rendering is broken
    if (/\bWindows\b.*\bChrome\b/.test(navigator.userAgent)) {
      var elem = document.getElementById('webfont');
      elem.parentNode.removeChild(elem);
    }
  });

}());
