luci-theme-material: remove the double slash (//) from menu url
[project/luci.git] / themes / luci-theme-material / luasrc / view / themes / material / footer.htm
index 3127855..edf85dc 100755 (executable)
             </div>
         </div>
 
+    <script>
+        // thanks for Jo-Philipp Wich <jow@openwrt.org>
+        var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
+    </script>
     <script src="<%=media%>/js/jquery.min.js"></script>
-    <script src="<%=media%>/js/script.js?<%= ver.luciversion %>"></script>
+    <script src="<%=media%>/js/script.js"></script>
 </body>
 </html>