diff options
author | Devaev Maxim <[email protected]> | 2018-11-04 04:36:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-04 04:36:05 +0300 |
commit | 341b9be3d3cc87cda8c564bc945b59ae30036fdf (patch) | |
tree | f54cb464f37ce663fbc71dbc4039bd59d535872f | |
parent | bdca0e883950281da6001cbe1710842ac687c37a (diff) |
fixed log button in ios
-rw-r--r-- | web/index.html | 2 | ||||
-rw-r--r-- | web/js/ui.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web/index.html b/web/index.html index 8e49aed7..99e48cf8 100644 --- a/web/index.html +++ b/web/index.html @@ -114,7 +114,7 @@ </div> <hr> <div class="ctl-dropdown-content-buttons"> - <button data-force-hide-menu onclick="window.open('kvmd/log?seek=3600&follow=1', '_blank');">• View log</button> + <button data-force-hide-menu id="open-log-button">• Open log</button> </div> </div> </div> diff --git a/web/js/ui.js b/web/js/ui.js index 20bba472..164d46f0 100644 --- a/web/js/ui.js +++ b/web/js/ui.js @@ -41,6 +41,7 @@ function Ui() { tools.setOnClick($("show-about-button"), () => self.showWindow($("about-window"))); tools.setOnClick($("show-keyboard-button"), () => self.showWindow($("keyboard-window"))); tools.setOnClick($("show-stream-button"), () => self.showWindow($("stream-window"))); + tools.setOnClick($("open-log-button"), () => window.open("kvmd/log?seek=3600&follow=1", "_blank")); self.showWindow($("stream-window")); }; |