fixed position of new friendsTan

This commit is contained in:
Marcel Schwarz 2018-06-18 19:10:54 +02:00
parent 826aba6825
commit b5619342d0
2 changed files with 4 additions and 3 deletions

View File

@ -14,8 +14,8 @@ async function getNewUniqueLink() {
body: phpSessionForm
});
var jsonFirstFetch = await firstFetch.json();
var content = document.getElementById('content');
content.innerHTML = `${jsonFirstFetch.html}`;
var genTan = document.getElementById('genTan');
genTan.innerHTML = "Das ist deine neue friendsTAN: " + `${jsonFirstFetch.html}`;
} catch (e) {
console.log("Server nicht erreichbar.");

View File

@ -6,7 +6,8 @@
<h4>Take a look in your FriendsBook!</h4>
<hr />
<button id="btnCreateTan" type="button" style="float: right;"class="btn btn-info">Erstelle Tan</button>
<h5>Want more entrys? go and invite your friends with the friendsTAN</h5><div id="genTan">Das ist deine neue friendsTAN: 100</div>
<h5>Want more entrys? go and invite your friends with the friendsTAN</h5>
<div id="genTan"></div>
</div>
<div class="card-columns">