Skip to content

Commit

Permalink
📝 Modify function name
Browse files Browse the repository at this point in the history
  • Loading branch information
tterb committed Nov 11, 2017
1 parent 3163bda commit 30e14ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const clipboard = require('electron');
const parsePath = require('parse-filepath');

function openFile() { sendIPC('file-open'); }
function openNewWindow(file = null) {
function newWindow(file = null) {
if(file === null) {
sendIPC('file-open-new');
} else {
Expand Down

0 comments on commit 30e14ac

Please sign in to comment.