summaryrefslogtreecommitdiff
path: root/kvmd/web/js/stream.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-13 08:36:52 +0300
committerDevaev Maxim <[email protected]>2018-08-13 08:36:52 +0300
commit8bd515b18dee4592ed53c9b90f503ec561604a17 (patch)
tree9d41a8b3ce5115a55360852c6de7b42abb9c1ad6 /kvmd/web/js/stream.js
parentb79b7e3975e9414b681c7511d7b5742ea6056320 (diff)
fixed stream window centering
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r--kvmd/web/js/stream.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js
index f1c5d950..8b6fe262 100644
--- a/kvmd/web/js/stream.js
+++ b/kvmd/web/js/stream.js
@@ -1,4 +1,4 @@
-function Stream() {
+function Stream(ui) {
// var self = this;
/********************************************************************************/
@@ -69,6 +69,7 @@ function Stream() {
var el_stream_image = $("stream-image");
el_stream_image.style.width = __normal_size.width * __size_factor + "px";
el_stream_image.style.height = __normal_size.height * __size_factor + "px";
+ ui.showWindow($("stream-window"));
};
var __refreshImage = function() {