mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
refactoring
This commit is contained in:
@@ -25,7 +25,7 @@ var wm;
|
||||
function main() {
|
||||
if (checkBrowser()) {
|
||||
window.onbeforeunload = function(event) {
|
||||
var text = "Are you sure you want to close Pi-KVM session?";
|
||||
let text = "Are you sure you want to close Pi-KVM session?";
|
||||
event.returnValue = text;
|
||||
return text;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user