Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: firstRun.js

Issue 29328733: Issue 2018 - Optimized first-run page for smaller screens (Closed)
Patch Set: Created Oct. 5, 2015, 1:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: firstRun.js
===================================================================
--- a/firstRun.js
+++ b/firstRun.js
@@ -155,6 +155,9 @@
function onSocialLinkClick(event)
{
+ if (window.matchMedia("(max-width: 970px)").matches)
+ return;
+
event.preventDefault();
getDocLink(event.target.id, function(link)

Powered by Google App Engine
This is Rietveld