mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
Added missing function docs.
This commit is contained in:
parent
2e481f36ac
commit
dcd735668f
@ -504,6 +504,9 @@ function toggleHpet(value) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Any element containing class "windows-only" will be hidden on other platform.
|
||||
*/
|
||||
function handlePlatformSpecificDisplay() {
|
||||
var windows_only_elements = document.getElementsByClassName('windows-only');
|
||||
if (require('os').platform() !== 'win32') {
|
||||
|
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* Will fill the export preset modal textarea with the preset data.
|
||||
*/
|
||||
function preset_export() {
|
||||
const modalTextArea = document.getElementById('modal-export-preset-textarea');
|
||||
const settings = require('electron-settings');
|
||||
@ -7,6 +10,9 @@ function preset_export() {
|
||||
modalTextArea.innerHTML = btoa(presets);
|
||||
}
|
||||
|
||||
/**
|
||||
* Will import the preset from the export preset modal textarea.
|
||||
*/
|
||||
function preset_import() {
|
||||
const modalTextArea = document.getElementById('modal-import-preset-textarea');
|
||||
const settings = require('electron-settings');
|
||||
|
Loading…
Reference in New Issue
Block a user