Skip to content

Commit

Permalink
Fixed update button
Browse files Browse the repository at this point in the history
- The update button now sends the required event.
  • Loading branch information
Ryzzzen committed Jun 30, 2018
1 parent 2a82035 commit b862f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ipcRenderer.once('update-ready', async (event, data) => {

$('.tabcontent[data-tabid="update"] > .textcontainer').text(jQuery(data.releaseNotes).text());

$('.tabcontent[data-tabid="update"] > #update').one("click", function() {});
$('.tabcontent[data-tabid="update"] > #update').one("click", () => ipcRenderer.send('update-install'));
});

function getReadableFileSizeString(fileSizeInBytes) {
Expand Down

0 comments on commit b862f91

Please sign in to comment.