From 53dfe712fe6fa98f858c2f2a4ee8ab13c5d42bcc Mon Sep 17 00:00:00 2001 From: aftercase <74765798+aftercase@users.noreply.github.com> Date: Thu, 19 Aug 2021 23:57:24 +0100 Subject: [PATCH] add colour to tags colourful --- theme/bulma/view.php | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/theme/bulma/view.php b/theme/bulma/view.php index 8faeaff..5cee6df 100644 --- a/theme/bulma/view.php +++ b/theme/bulma/view.php @@ -23,16 +23,8 @@ function setupTagsInput() { searchMinChars: 1, searchOn: 'text', selectable: true, - tagClass: 'is-rounded', + tagClass: 'is-info', trim: true, - source: async function (value) { - // Value equal input value - // We can then use it to request data from external API - return await fetch("/api/tags_autocomplete.php?tag=" + encodeURIComponent(value)) - .then(function (response) { - return response.json(); - }); - } }); } @@ -246,15 +238,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was