diff --git a/front/src/composables/audio/usePlayOptions.ts b/front/src/composables/audio/usePlayOptions.ts index 9c1e9fe1d..36c9c5e2f 100644 --- a/front/src/composables/audio/usePlayOptions.ts +++ b/front/src/composables/audio/usePlayOptions.ts @@ -9,7 +9,6 @@ import { useStore } from '~/store' import { usePlayer } from '~/composables/audio/player' import { useQueue } from '~/composables/audio/queue' -import jQuery from 'jquery' import axios from 'axios' export interface PlayOptionsProps { @@ -151,17 +150,14 @@ export default (props: PlayOptionsProps) => { } const el = useCurrentElement() - const enqueue = async () => { - jQuery(el.value).find('.ui.dropdown').dropdown('hide') + const enqueue = async () => { const tracks = await getPlayableTracks() await addToQueue(...tracks) addMessage(tracks) } const enqueueNext = async (next = false) => { - jQuery(el.value).find('.ui.dropdown').dropdown('hide') - const tracks = await getPlayableTracks() const wasEmpty = queue.value.length === 0 @@ -177,9 +173,6 @@ export default (props: PlayOptionsProps) => { const replacePlay = async (index?: number) => { await clear() - - jQuery(el.value).find('.ui.dropdown').dropdown('hide') - const tracksToPlay = await getPlayableTracks() await addToQueue(...tracksToPlay)