Add a dismiss handler to the restricted-server overlay.
This commit is contained in:
parent
3b4261f6fb
commit
225fa662c8
@ -780,9 +780,11 @@ function checkCurrentServer(errorOverlay = true){
|
||||
'Switch Server'
|
||||
)
|
||||
setOverlayHandler(() => {
|
||||
document.activeElement.blur()
|
||||
toggleServerSelection(true)
|
||||
})
|
||||
setDismissHandler(() => {
|
||||
toggleOverlay(false)
|
||||
})
|
||||
toggleOverlay(true, true)
|
||||
}
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user