mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Removed buttons from paramString
This commit is contained in:
@@ -270,7 +270,10 @@ function LoadDefaultSettings() {
|
||||
function RefreshWidgetPreview() {
|
||||
const settings = {};
|
||||
settingsData.settings.forEach(setting => {
|
||||
if (setting.type === 'button') return; // Skip buttons
|
||||
|
||||
let inputElement = document.getElementById(setting.id);
|
||||
if (!inputElement) return;
|
||||
|
||||
if (setting.type === 'checkbox') {
|
||||
settings[setting.id] = inputElement.checked;
|
||||
|
||||
Reference in New Issue
Block a user