Added missing function doc.

This commit is contained in:
Quentin Decaunes 2019-03-01 16:26:34 +01:00
parent 45dfaacffe
commit 56a3c4ff62

View File

@ -195,6 +195,9 @@ function loadLatestUsedSettings() {
}
}
/**
* Listen settings tab inputs to save their values.
*/
function registerEventListenerForSettingsInput() {
const settings = require('electron-settings');
@ -214,6 +217,9 @@ function registerEventListenerForSettingsInput() {
});
}
/**
* Simply display version in appropriate zone.
*/
function displayVersion() {
const pjson = require('./package.json');
document.getElementById('version').innerHTML = `v${pjson.version}`;