Skip to content

Commit

Permalink
Greenkeeper/standard 14.3.1 (#52)
Browse files Browse the repository at this point in the history
Greenkeeper/standard 14.3.1
  • Loading branch information
pzi authored Oct 2, 2019
2 parents 89df97f + 4161b8c commit e76729b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ ipcRenderer.on('window-blur', () => {
ipcRenderer.on('GlobalShortcuts', (event, shortcut) => {
switch (shortcut) {
case 'CmdOrCtrl+C':
const selectedImageContainer = imagesWrapper.querySelector('.is-selected')
clipboard.writeText(selectedImageContainer.getElementsByTagName('img')[0].src)
clipboard.writeText(
imagesWrapper.querySelector('.is-selected').getElementsByTagName('img')[0].src
)
break
case 'CmdOrCtrl+F':
searchInput.focus()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"electron": "^4.0.0",
"electron-packager": "^13.0.0",
"standard": "^12.0.1"
"standard": "^14.3.1"
},
"prettier": {
"semi": false,
Expand Down

0 comments on commit e76729b

Please sign in to comment.