mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Remove unnecessary duplicate "Save" button
Note: the button is created on the HTML markup (.lp file) Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -322,11 +322,6 @@ function createDynamicConfigTabs() {
|
||||
});
|
||||
$("#advanced-overlay").hide();
|
||||
|
||||
$("#advanced-content").append(
|
||||
'<div class="col-lg-12 settings-level-1 save-button-container">' +
|
||||
'<button type="button" class="btn btn-primary save-button" id="save"><i class="fa-solid fa-fw fa-floppy-disk"></i> Save & Apply</button>' +
|
||||
"</div>"
|
||||
);
|
||||
$("button[id='save']").on("click", function () {
|
||||
saveSettings();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user