summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/main.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-25 00:18:10 +0300
committerDevaev Maxim <[email protected]>2019-04-25 00:18:10 +0300
commit73bfd715e3d83b777530252ef06e6fad702dd036 (patch)
treecfd9b297a7d8883022c65224e1ca2bd04598f971 /web/share/js/kvm/main.js
parent3d64401b111d863072c74e81e49de68885c0e084 (diff)
refactoring
Diffstat (limited to 'web/share/js/kvm/main.js')
-rw-r--r--web/share/js/kvm/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/main.js b/web/share/js/kvm/main.js
index 97e3f62c..308b34c0 100644
--- a/web/share/js/kvm/main.js
+++ b/web/share/js/kvm/main.js
@@ -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;
};