From 434151b5b3368920dc7add2a28d8da172cb70060 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 14 May 2017 20:38:36 +0000
Subject: [PATCH] Do not call skipWaiting on inactive service worker

---
 map.html |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/map.html b/map.html
index a1cf93c..263b587 100644
--- a/map.html
+++ b/map.html
@@ -4,6 +4,7 @@
 <title>TTSS Kraków - Mapa</title>
 <meta charset="utf-8" />
 <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
+<link rel="manifest" href="map.manifest" />
 <link rel="stylesheet" href="https://openlayers.org/en/v4.1.0/css/ol.css" type="text/css" />
 <link rel="stylesheet" href="map.css" type="text/css" />
 </head>
@@ -11,13 +12,14 @@
 <div id="map">
 <div id="title" class="ol-unselectable ol-control"><a href="/">TTSS Kraków</a></div>
 <div id="fail" class="ol-unselectable ol-control"></div>
-<div id="popup"></div>
 </div>
+<div id="popup"></div>
 <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
 <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
 <script src="https://openlayers.org/en/v4.1.0/build/ol.js" integrity="sha384-FkrvSU9IkctjoF6eTvw82jZvg4Rn04zw5X2nCQnYF+vT8IbAY+DJ23IIoaVDtiMe" crossorigin="anonymous"></script>
 <script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script>
 <script tyle="text/javascript" src="common.js"></script>
 <script tyle="text/javascript" src="map.js"></script>
+<script tyle="text/javascript" src="serviceworker-install.js"></script>
 </body>
 </html>

--
Gitblit v1.9.1