summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/desktop/views/components/window.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/window.vue b/src/client/app/desktop/views/components/window.vue
index 7eaeed9ada..40a8d6d594 100644
--- a/src/client/app/desktop/views/components/window.vue
+++ b/src/client/app/desktop/views/components/window.vue
@@ -234,7 +234,7 @@ export default Vue.extend({
top() {
let z = 0;
- const ws = this.$root.os.windows.getAll().filter(w => w != this);
+ const ws = Array.from(this.$root.os.windows.getAll()).filter(w => w != this);
for (const w of ws) {
const m = w.$refs.main;
const mz = Number(document.defaultView.getComputedStyle(m, null).zIndex);