mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-01 12:26:01 +00:00
Fixed settings and toasts not working
This commit is contained in:
parent
579d68f66a
commit
db8b3493a2
|
@ -1,14 +1,14 @@
|
|||
// Initialization
|
||||
const socket = io.connect(window.location.href)
|
||||
localStorage = window.localStorage
|
||||
// tabs stuff
|
||||
search_selected = ''
|
||||
main_selected = ''
|
||||
var localStorage = window.localStorage
|
||||
// toasts stuff
|
||||
let toastsWithId = {}
|
||||
var toastsWithId = {}
|
||||
// settings
|
||||
lastSettings = {}
|
||||
lastCredentials = {}
|
||||
var lastSettings = {}
|
||||
var lastCredentials = {}
|
||||
|
||||
function toast(msg, icon = null, dismiss = true, id = null) {
|
||||
if (toastsWithId[id]) {
|
||||
|
|
Loading…
Reference in a new issue