Skip to content

Instantly share code, notes, and snippets.

@tfeuerst
Created December 17, 2018 15:56
Show Gist options
  • Select an option

  • Save tfeuerst/3e2ae306e783215d7c5f76e527b8452a to your computer and use it in GitHub Desktop.

Select an option

Save tfeuerst/3e2ae306e783215d7c5f76e527b8452a to your computer and use it in GitHub Desktop.
<script>
RHP.screenWidth = typeof document.documentElement != 'undefined' ? document.documentElement.clientWidth : window.innerWidth;
RHP.isDesktop = RHP.screenWidth < 769 ? false : true;
</script>
<ins id="revive-zoneid6" data-revive-zoneid="6" data-revive-id="3d8349bd71ae0666f31c19a6781dc904"></ins>
<script>
if ( !RHP.isDesktop) {
var ins = document.getElementById("revive-zoneid6");
ins.setAttribute('data-revive-mobile', true);
}
</script>
<script async src="//revive.example.com/www/delivery/asyncjs.php"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment