From 2cbde8b55c78e6be9eb1a755b6cea9d8b628d47e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 8 Oct 2023 12:30:12 +0300 Subject: [PATCH] #1221 Button to refresh WI sorts --- public/css/st-tailwind.css | 6 +++++- public/index.html | 3 ++- public/scripts/world-info.js | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index 5f5dbcb1a..37dc2f27d 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -103,6 +103,10 @@ align-self: start; } +.gap3px { + gap: 3px !important; +} + .gap5px { gap: 5px !important; } @@ -447,4 +451,4 @@ textarea:disabled { .opacity1 { opacity: 1 !important; -} \ No newline at end of file +} diff --git a/public/index.html b/public/index.html index 7d2e8f22e..674256ddf 100644 --- a/public/index.html +++ b/public/index.html @@ -2743,7 +2743,7 @@

-
+
diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index f9e94effb..386be3685 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2006,6 +2006,10 @@ jQuery(() => { worldInfoFilter.setFilterData(FILTER_TYPES.WORLD_INFO_SEARCH, term); }); + $('#world_refresh').on('click', () => { + updateEditor(navigation_option.previous); + }); + $('#world_info_sort_order').on('change', function(e) { if (e.target instanceof HTMLOptionElement) { localStorage.setItem(SORT_ORDER_KEY, e.target.value);