diff options
Diffstat (limited to 'web/js/kvm/stream.js')
-rw-r--r-- | web/js/kvm/stream.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/web/js/kvm/stream.js b/web/js/kvm/stream.js index d543701f..029eee48 100644 --- a/web/js/kvm/stream.js +++ b/web/js/kvm/stream.js @@ -38,19 +38,6 @@ function Streamer() { /********************************************************************************/ - self.loadInitialState = function() { - var http = tools.makeRequest("GET", "/kvmd/streamer", function() { - if (http.readyState === 4) { - if (http.status === 200) { - self.setState(JSON.parse(http.responseText).result); - } else { - self.clearState(); - setTimeout(self.loadInitialState, 1000); - } - } - }); - }; - self.setState = function(state) { if (state.state) { var source = state.state.source; |