From 43bbf725b872d8b2cd1ed29b4689f2f31ffecace Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 5 Nov 2018 06:20:05 +0300 Subject: js logs refactoring --- web/js/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/js/ui.js') diff --git a/web/js/ui.js b/web/js/ui.js index 164d46f0..ec16eef8 100644 --- a/web/js/ui.js +++ b/web/js/ui.js @@ -306,12 +306,12 @@ function Ui() { var el_to_focus = (el_window.className === "modal" ? el_window.querySelector(".modal-window") : el_window); if (document.activeElement !== el_to_focus) { el_to_focus.focus(); - tools.debug("Focused window:", el_window); + tools.debug("UI: focused window:", el_window); if (el_window.className !== "modal" && parseInt(el_window.style.zIndex) !== __top_z_index) { var z_index = __top_z_index + 1; el_window.style.zIndex = z_index; __top_z_index = z_index; - tools.debug("Raised window:", el_window); + tools.debug("UI: raised window:", el_window); } } }; -- cgit v1.2.3