From 57267026c917a16ad90b0dbae0f42e15135a092f Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 14 Apr 2024 21:36:54 +0200 Subject: [PATCH] wip --- web_src/js/modules/fomantic/api.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web_src/js/modules/fomantic/api.js b/web_src/js/modules/fomantic/api.js index fc1bb99039..53577824b9 100644 --- a/web_src/js/modules/fomantic/api.js +++ b/web_src/js/modules/fomantic/api.js @@ -21,7 +21,10 @@ export function initFomanticApi() { $.fn.api = function (arg0) { console.info(arg0); - if (arg0 === 'is loading') return this._loading; + if (arg0 === 'is loading') { + return this._loading; + } + if (arg0 === 'abort') { this._ac?.abort(); return;