# in front of tags and changed index of messages
This commit is contained in:
@@ -114,8 +114,8 @@ const CreateMsgRouter = {
|
||||
|
||||
function get_insert_tag(id){
|
||||
$.ajax({ url: "api/tag/"+id, method: "GET" }).done(function (tag) {
|
||||
data.push(tag.name);
|
||||
console.log("it worked!");
|
||||
data.push("#" + tag.name);
|
||||
console.log("Array:"+this.data);
|
||||
}).fail(function (e, f, g) {
|
||||
console.log("cannot load " + id + ".json: " + e + f + g);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user