mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-17 17:30:00 -04:00
Fixed typo.
This commit is contained in:
parent
ce0b7b030e
commit
92ad8e34bc
@ -17218,7 +17218,7 @@
|
|||||||
|
|
||||||
// Request Confirmation if closing while a desktop, terminal session is active
|
// Request Confirmation if closing while a desktop, terminal session is active
|
||||||
window.addEventListener('beforeunload', function (e) {
|
window.addEventListener('beforeunload', function (e) {
|
||||||
if (((desktop != null) && (xxcurrentView == 11)) || ((terminal != null) && (xxcurrentView = 12))) { e.preventDefault(); e.returnValue = ''; }
|
if (((desktop != null) && (xxcurrentView == 11)) || ((terminal != null) && (xxcurrentView == 12))) { e.preventDefault(); e.returnValue = ''; }
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user