mirror of https://github.com/go-gitea/gitea.git
wip
This commit is contained in:
parent
39dc240bee
commit
57267026c9
|
@ -21,7 +21,10 @@ export function initFomanticApi() {
|
||||||
$.fn.api = function (arg0) {
|
$.fn.api = function (arg0) {
|
||||||
console.info(arg0);
|
console.info(arg0);
|
||||||
|
|
||||||
if (arg0 === 'is loading') return this._loading;
|
if (arg0 === 'is loading') {
|
||||||
|
return this._loading;
|
||||||
|
}
|
||||||
|
|
||||||
if (arg0 === 'abort') {
|
if (arg0 === 'abort') {
|
||||||
this._ac?.abort();
|
this._ac?.abort();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue