Skip to content

Commit

Permalink
Fixed links
Browse files Browse the repository at this point in the history
  • Loading branch information
MiepHD committed May 21, 2024
1 parent cb0d0cf commit 61250ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions add.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<canvas style="display: none"></canvas>
<div id="dialogback" style="display: none">
<dialog open>
<button><a href="/index.html">Speichern</a></button>
<button><a href="/index.html" onclick="window.removeEventListener('beforeunload', unload)">Verlassen ohne zu speichern</a></button>
<button><a href="index.html">Speichern</a></button>
<button><a href="index.html" onclick="window.removeEventListener('beforeunload', unload)">Verlassen ohne zu speichern</a></button>
</dialog>
</div>
<div style="flex: 1;">
Expand Down Expand Up @@ -352,7 +352,7 @@
type="url"
placeholder="https://cdn.cloudflare.steamstatic.com/steam/apps/0000000/header.jpg"
/>
<a href="https://steamdb.info/">SteamDB</a><span class="right">Bild-Url oder Steam App ID eingeben</span>
<a href="https://steamdb.info/" target="_blank">SteamDB</a><span class="right">Bild-Url oder Steam App ID eingeben</span>
</div>

<label>Rich Text:</label>
Expand All @@ -368,7 +368,7 @@
</button>
<span class="right">Text markieren und Fett, Kursiv oder Unterstrichen anklicken</span>
</div>
<a href="/index.html"><button id="save" type="button">Speichern</button></a>
<a href="index.html"><button id="save" type="button">Speichern</button></a>
</div>
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</button>
</dialog>
</div>
<a class="card" href="/add.html">
<a class="card" href="add.html">
<img class="background" src="assets/add.png" />
</a>
<a class="card" id="export" download="your-game-cards-backup.json">
Expand Down
2 changes: 1 addition & 1 deletion save.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ function saveInfo() {
? currentdata.push(saveData)
: (currentdata = [saveData]);
localStorage.setItem('data', JSON.stringify(currentdata));
location.href = '/index.html';
location.href = 'index.html';
}

0 comments on commit 61250ba

Please sign in to comment.