Skip to content

Commit

Permalink
Merge pull request #34 from homeworker-app/dev
Browse files Browse the repository at this point in the history
Release 1.1.8
  • Loading branch information
Rasmus Krämer authored Sep 14, 2020
2 parents bc59705 + 9ab4a90 commit a209f5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homeworker-desktop",
"version": "1.1.7",
"version": "1.1.8",
"description": "Desktop app for Windows and MacOS",
"main": "src/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const createWindow = () => {
win.loadURL(startUrl)

// Make sidebar draggable (on MacOS)
win.webContents.on('did-finish-load', () => win.webContents.insertCSS(isDarwin ? '.side-nav { -webkit-app-region: drag }' : ""))
win.webContents.on('did-finish-load', () => isDarwin ? win.webContents.insertCSS('.side-nav { -webkit-app-region: drag }') : null)
win.webContents.on('new-window', (event, url) => {
event.preventDefault()

Expand Down

0 comments on commit a209f5b

Please sign in to comment.