summaryrefslogtreecommitdiff
path: root/web/js/ui.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-05 06:20:05 +0300
committerDevaev Maxim <[email protected]>2018-11-05 06:20:05 +0300
commit43bbf725b872d8b2cd1ed29b4689f2f31ffecace (patch)
tree23b393bd2c6013001b25d87d388353f8dab5d7ed /web/js/ui.js
parent9f2c0dd14ed57567eda7c2a539ba445dda79c3b2 (diff)
js logs refactoring
Diffstat (limited to 'web/js/ui.js')
-rw-r--r--web/js/ui.js4
1 files changed, 2 insertions, 2 deletions
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);
}
}
};