Skip to content

Commit

Permalink
"Clear all settings" button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nmtoblum committed May 17, 2020
1 parent 50833c2 commit 8e12deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void handleRoot() {
s += "<dialog class=\"nes-dialog is-rounded\" id=\"dialog-clearsettings\">\n";
s += "<p class=\"title\">Really clear all settings?</p>\n";
s += "<button class=\"nes-btn\" onclick=\"document.getElementById('dialog-clearsettings').close()\">Close</button>\n";
s += "<button class=\"nes-btn\" onclick=\"performClearSettings()\">OK</button>\n";
s += "<button class=\"nes-btn is-error\" onclick=\"performClearSettings()\">Clear all settings</button>\n";
s += "</dialog>\n";
s += "<dialog class=\"nes-dialog is-rounded\" id=\"dialog-clearsettings-result\">\n";
s += "<p class=\"title\">All settings were cleared.</p>\n";
Expand Down

0 comments on commit 8e12deb

Please sign in to comment.