summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-11 20:47:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-11 20:47:07 +0900
commitd885b872f314afeb2013e12859c6f58f9948ae2c (patch)
tree46ff9bef72bdbcb66c9fc5401b65d3d3cfa765de /src/client
parentUse for-of instead of forEach (#3583) (diff)
downloadmisskey-d885b872f314afeb2013e12859c6f58f9948ae2c.tar.gz
misskey-d885b872f314afeb2013e12859c6f58f9948ae2c.tar.bz2
misskey-d885b872f314afeb2013e12859c6f58f9948ae2c.zip
Fix bug
Diffstat (limited to 'src/client')
-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);