From 8aee773c1c355e0eea05938ec179e0ce8bef1dd9 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 27 Aug 2018 14:48:44 +0300 Subject: modal dialog processing like a window --- kvmd/web/js/hid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/web/js/hid.js') diff --git a/kvmd/web/js/hid.js b/kvmd/web/js/hid.js index 50bbd5e7..09c67d98 100644 --- a/kvmd/web/js/hid.js +++ b/kvmd/web/js/hid.js @@ -148,11 +148,11 @@ function Hid() { var confirm_msg = ( "You are going to automatically type " + codes_count + " characters from the system clipboard." - + "It will take " + (__codes_delay * codes_count * 2 / 1000) + " seconds.
" + + " It will take " + (__codes_delay * codes_count * 2 / 1000) + " seconds.
" + "
Are you sure you want to continue?
" ); - modal.confirm(confirm_msg).then(function(ok) { + ui.confirm(confirm_msg).then(function(ok) { if (ok) { $("pak-button").disabled = true; $("pak-led").className = "led-pak-typing"; -- cgit v1.2.3