From ab3c421ab40a2edaf588f947d87af006cb754b4d Mon Sep 17 00:00:00 2001 From: KatieFrogs <23621460+KatieFrogs@users.noreply.github.com> Date: Mon, 7 Mar 2022 02:02:13 +0300 Subject: [PATCH] Fix custom song list in opera --- public/src/js/customsongs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/customsongs.js b/public/src/js/customsongs.js index 60f9471..50ddd5e 100644 --- a/public/src/js/customsongs.js +++ b/public/src/js/customsongs.js @@ -152,7 +152,7 @@ class CustomSongs{ return } this.changeSelected(this.linkLocalFolder) - if(typeof showDirectoryPicker === "function"){ + if(typeof showDirectoryPicker === "function" && !(/\bOPR\/|\bOPRGX\//.test(navigator.userAgent))){ return showDirectoryPicker().then(file => { this.walkFilesystem(file).then(files => this.importLocal(files)).then(input => { if(input){