Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson committed Apr 6, 2017
1 parent 0532d37 commit 9b85b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/renderer/components/browserAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class BrowserAction extends ImmutableComponent {
if (!e.nativeEvent.x || !e.nativeEvent.y) {
// Handles case where user focuses button, and presses Enter
let { top: offsetTop, left: offsetLeft } = e.target.getBoundingClientRect()
centerX = offsetLeft + e.target.offsetWidth * 0.5
centerY = offsetTop + e.target.offsetHeight * 0.5
centerX = offsetLeft + (e.target.offsetWidth * 0.5)
centerY = offsetTop + (e.target.offsetHeight * 0.5)
}
let props = {
x: e.nativeEvent.x || centerX,
Expand Down

0 comments on commit 9b85b0b

Please # to comment.