mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
implement clearing search input on start typing
+ rename pages folder to fetch in composables folder
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Artist } from "./../../interfaces";
|
||||
import { Artist } from "../../interfaces";
|
||||
import { Playlist, Track } from "../../interfaces";
|
||||
import { Notification, NotifType } from "../../stores/notification";
|
||||
import state from "../state";
|
||||
@@ -1,4 +1,4 @@
|
||||
import state from "./state";
|
||||
import state from "../state";
|
||||
import axios from "axios";
|
||||
|
||||
const base_url = `${state.settings.uri}/search`;
|
||||
@@ -3,7 +3,7 @@ import useQStore from "@/stores/queue";
|
||||
let key_down_fired = false;
|
||||
|
||||
function focusSearchBox() {
|
||||
const elem = document.getElementById("search");
|
||||
const elem = document.getElementById("globalsearch");
|
||||
|
||||
elem.focus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user