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. 7, 2015, 12: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
« no previous file with comments | « firstRun.html ('k') | skin/firstRun.css » ('j') | skin/firstRun.css » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « firstRun.html ('k') | skin/firstRun.css » ('j') | skin/firstRun.css » ('J')

Powered by Google App Engine
This is Rietveld