Skip to content

Commit

Permalink
More preview mode test
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Feb 27, 2016
1 parent b3ce0d4 commit 1b179d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ <h1>About</h1>
});
}
if (typeof ga != 'undefined') ga('send', 'event', 'App', 'ServiceWorker', 'serviceWorker' in navigator);

if (/preview/i.test(location.search)) document.querySelector('.scroll').style.height = 'auto';
</script>
</body>
</html>

0 comments on commit 1b179d2

Please sign in to comment.