Skip to content
Snippets Groups Projects
Commit a1e8593f authored by Seth Meranda's avatar Seth Meranda
Browse files

for mobile, add the viewport meta tag.

parent 874eb018
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@ $page->head .= '
<link rel="stylesheet" type="text/css" href="http://directory.unl.edu/css/peoplefinder_default.css" />
<link rel="stylesheet" type="text/css" href="searchCSS.css" />
';
if ($template == 'Mobile') {
$page->head .='<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />';
};
$page->addScript('searchFunc.js');
if (isset($_GET['u']) //u is referring site
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment