summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-14 01:02:58 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-14 01:02:58 +0900
commit774342d868fc59a16c99d6f482b7db57e30b87f6 (patch)
treed11943d9e0e9c42bc947ea92638a7cda037db7b2 /src
parentRemove needless annotation (diff)
downloadsharkey-774342d868fc59a16c99d6f482b7db57e30b87f6.tar.gz
sharkey-774342d868fc59a16c99d6f482b7db57e30b87f6.tar.bz2
sharkey-774342d868fc59a16c99d6f482b7db57e30b87f6.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/window.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/window.tag b/src/web/app/desktop/tags/window.tag
index f0e1a3fdd1..7a82fe601d 100644
--- a/src/web/app/desktop/tags/window.tag
+++ b/src/web/app/desktop/tags/window.tag
@@ -265,7 +265,7 @@
const position = this.refs.main.getBoundingClientRect();
const width = parseInt(getComputedStyle(this.refs.main, '').width, 10);
- const left = parseInt(getComputedStyle(this.refs.main, '').left, 10);
+ const height = parseInt(getComputedStyle(this.refs.main, '').height, 10);
const x = window.screenX + position.left;
const y = window.screenY + position.top;