mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
Added missing function doc.
This commit is contained in:
parent
45dfaacffe
commit
56a3c4ff62
@ -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}`;
|
||||
|
Loading…
Reference in New Issue
Block a user