text: /*! fixMobileVh v1.0.1 | (c) Alexander Stulnikov | MIT */
  (function() {
    var initialized = false;
    var isHandheld = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|playbook|silk/i.test( navigator.userAgent );
    var timeout;
  
    function init (selector) {
      initialized = true;
      window.addEventListener('orientationchange', function() {
        update(selector)
      });
      update(selector);
    }
  
    function update (selector) {
      var elements = document.querySelectorAll(selector || '.fix-mobile-vh'),
          i;
      if (!elements.length) return;
      clearTimeout(timeout);
      for (i = 0; i < elements.length; ++i) {
        elements[i].style.height = elements[i].style.minHeight = '';
      }
      timeout = setTimeout(function() {
        for (i = 0; i < elements.length; ++i) {
          elements[i].style.height = elements[i].style.minHeight = (getComputedStyle(elements[i]).getPropertyValue('box-sizing') === 'border-box' ? elements[i].offsetHeight : elements[i].clientHeight) + 'px';
        }
      }, 500);
    }
  
    window.fixMobileVh = function(selector) {
      if (!isHandheld) return;
      initialized ? update(selector) : init(selector);
    }
  }());