Skip to content

Commit

Permalink
Read from defaults.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cxtch committed Dec 11, 2021
1 parent c218124 commit cab40ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion html/mainPage/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ function findDefault(setting) {
}
// TODO: saving and loading custom presets
function findPreset(elem) {
console.log(elem)
const name = elem.innerText.match(/Preset: ([\w|\s]+)/i)[1].replace(/\s/g, '_')
defaultsJson.extended_presets.forEach((value) => {
if (value.hasOwnProperty(name)) {
Expand Down

0 comments on commit cab40ba

Please sign in to comment.