From b5619342d047c6410091c6e6a60832232991256d Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Mon, 18 Jun 2018 19:10:54 +0200 Subject: [PATCH] fixed position of new friendsTan --- js/contentloader.js | 4 ++-- segments/_myFriendsBook.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/contentloader.js b/js/contentloader.js index aa4fad4..5e666a3 100644 --- a/js/contentloader.js +++ b/js/contentloader.js @@ -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."); diff --git a/segments/_myFriendsBook.php b/segments/_myFriendsBook.php index 2b31bb0..dabba5a 100644 --- a/segments/_myFriendsBook.php +++ b/segments/_myFriendsBook.php @@ -6,7 +6,8 @@

Take a look in your FriendsBook!


-
Want more entrys? go and invite your friends with the friendsTAN
Das ist deine neue friendsTAN: 100
+
Want more entrys? go and invite your friends with the friendsTAN
+