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 cab40ba commit b7a2921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/mainPage/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function findPreset(elem) {
defaultsJson.extended_presets.forEach((value) => {
const e = document.createElement('button')
e.setAttribute('onclick', 'findPreset(this); updateFilteringTab()')
e.setAttribute('style', 'margin-left: 10px;');
e.setAttribute('style', 'margin-left: 8px;');
e.innerText = `Preset: ${Object.keys(value)[0].replace(/_/g, ' ')}`;
document.getElementById('extendedPresets').appendChild(e)
})
Expand Down

0 comments on commit b7a2921

Please sign in to comment.