Hats webpage: Fix URLs
authorWuzzy <Wuzzy2@mail.ru>
Sat, 16 May 2020 01:16:10 +0200
changeset 15562 799fd0a6d3bf
parent 15561 3c1c5ff824f7
child 15563 af4bcdbf2c8f
Hats webpage: Fix URLs
misc/hats_js_anim.xhtml
--- a/misc/hats_js_anim.xhtml	Sat May 16 01:04:27 2020 +0200
+++ b/misc/hats_js_anim.xhtml	Sat May 16 01:16:10 2020 +0200
@@ -8,7 +8,7 @@
 * {padding: 0; margin: 0; }
 body
 {
-    background: url('https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Sky.png') fixed no-repeat bottom left;
+    background: url('//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Sky.png') fixed no-repeat bottom left;
     background-color: #0B203D;
     color: #FFD902;
     -moz-background-size: 200%;
@@ -38,14 +38,14 @@
     height: 32px;
     width: 32px;
     color: transparent;
-    background-image: url("https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hedgehog/Idle.png");
+    background-image: url("//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hedgehog/Idle.png");
 }
 .girder
 {
     width: 100%;
     height: 30px;
     clear: left;
-    background-image: url('https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Girder.png');
+    background-image: url('//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Themes/Nature/Girder.png');
     background-repeat: repeat-x;
 }
 .hide { visibility: hidden; }
@@ -168,7 +168,7 @@
         if (IS_LOCAL)
             h.href = "../share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png";
         else
-            h.href = "https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png";
+            h.href = "//hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Graphics/Hats/"+masks[i]+".png";
 
         img = new Image();
         img.onload = function() {
@@ -325,7 +325,7 @@
 {
     var prefix;
     if (IS_LOCAL)
-        prefix = "https://hg.hedgewars.org/hedgewars/raw-file/tip";
+        prefix = "//hg.hedgewars.org/hedgewars/raw-file/tip";
     else
         prefix = "..";
     document.body.style.backgroundImage='url("'+prefix+'/share/hedgewars/Data/Themes/'+this.value+'/Sky.png")';