homebridge-xbox-tv 2.8.4-beta.21 → 2.8.4-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,9 +37,6 @@
37
37
  return;
38
38
  }
39
39
 
40
- //load form
41
- document.getElementById('authorizationManager').style.display = 'block';
42
-
43
40
  //get devices count
44
41
  const devicesCount = pluginConfig[0].devices.length;
45
42
 
@@ -73,6 +70,8 @@
73
70
  const click = i === devicesCount - 1 ? document.getElementById(`button0`).click() : false;
74
71
  const update = i === devicesCount - 1 ? await homebridge.updatePluginConfig(pluginConfig) : false;
75
72
  };
73
+ //load form
74
+ document.getElementById('authorizationManager').style.display = 'block';
76
75
 
77
76
  //watch for changes to the config button
78
77
  document.getElementById('configButton').addEventListener('click', async () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "2.8.4-beta.21",
4
+ "version": "2.8.4-beta.22",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",