From d45ab87a8b13550e33edda8bf9cc1fcf7dd96183 Mon Sep 17 00:00:00 2001 From: Xenia Date: Thu, 27 Jun 2019 10:56:34 +0200 Subject: [PATCH] =?UTF-8?q?#=20bei=20der=20Tag-Ausgabe=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/routes/createMessage.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/public/routes/createMessage.js b/public/routes/createMessage.js index 9f37a4b..25d49cf 100644 --- a/public/routes/createMessage.js +++ b/public/routes/createMessage.js @@ -1,8 +1,8 @@ var tagArray = []; const data=[ - '#th', - '#efi', - '#wichtig', + 'th', + 'efi', + 'wichtig', ]; const CreateMsgRouter = { template: ` @@ -38,8 +38,6 @@ const CreateMsgRouter = { ABBRECHEN SENDEN - - `, data: function () { @@ -114,7 +112,7 @@ const CreateMsgRouter = { function get_insert_tag(id){ $.ajax({ url: "api/tag/"+id, method: "GET" }).done(function (tag) { - data.push(tag.name); + data.push("#"+tag.name); console.log("it worked!"); }).fail(function (e, f, g) { console.log("cannot load " + id + ".json: " + e + f + g);