diff options
author | Devaev Maxim <[email protected]> | 2018-11-05 06:20:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-05 06:20:05 +0300 |
commit | 43bbf725b872d8b2cd1ed29b4689f2f31ffecace (patch) | |
tree | 23b393bd2c6013001b25d87d388353f8dab5d7ed /web/js/ui.js | |
parent | 9f2c0dd14ed57567eda7c2a539ba445dda79c3b2 (diff) |
js logs refactoring
Diffstat (limited to 'web/js/ui.js')
-rw-r--r-- | web/js/ui.js | 4 |
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); } } }; |