Commit d505a774 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos

Got rid of annoying alert message at every geolocate load. Implemented fading message on menu

parent 44ce273c
...@@ -313,9 +313,9 @@ function resizeMap() ...@@ -313,9 +313,9 @@ function resizeMap()
} }
$(document).ready(function() { $(document).ready(function() {
alert("Beware that the accuracy of your geolocation depends highly on your connection type (wired, wireless, mobile data plan)");
initialize(); initialize();
resizeMap(); resizeMap();
$("#localert").delay(6500).fadeOut('slow');
}); });
...@@ -341,13 +341,14 @@ function resizeMap() ...@@ -341,13 +341,14 @@ function resizeMap()
<li id="distanceText" style="line-height:40px;" style="font-size: 14px;"></li> <li id="distanceText" style="line-height:40px;" style="font-size: 14px;"></li>
</ul> </ul>
<div class="nav-collapse collapse"> <div class="nav-collapse collapse">
<ul class="nav"> <ul class="nav">
<li></li> <li class="hidden-desktop"><span class="alert" style="font-size: 12px;padding: 0 1px; line-height: 40px;">Accuracy depends on connection type</span></li>
<li></li> <li>
<div class="navbar-search pull-left" style="margin-left: 5px;"> <div class="navbar-search pull-left" style="margin-left: 5px;">q
<input type="text" class="search-query" placeholder="Search" id="searchTextField"> <input type="text" class="search-query" placeholder="Search" id="searchTextField">
</div> </div>
</li>
<li class="visible-desktop"><span id="localert" class="alert" style="font-size: 12px;padding: 0 1px; line-height: 40px;">Accuracy depends on connection type</span></li>
</ul> </ul>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment