mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
settings-advanced: remove unused code
There's no such button with id=save Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* This file is copyright under the latest version of the EUPL.
|
||||
* Please see LICENSE file for your rights under this license. */
|
||||
|
||||
/* global utils:false, apiFailure: false, applyCheckboxRadioStyle: false, saveSettings:false */
|
||||
/* global utils:false, apiFailure: false, applyCheckboxRadioStyle: false */
|
||||
/* exported createDynamicConfigTabs */
|
||||
|
||||
"use strict";
|
||||
@@ -336,10 +336,6 @@ function createDynamicConfigTabs() {
|
||||
$("#advanced-settings-menu ul li:first-child").addClass("active");
|
||||
$("#advanced-settings-tabs > div:first-child").addClass("active in");
|
||||
|
||||
$("button[id='save']").on("click", () => {
|
||||
saveSettings();
|
||||
});
|
||||
|
||||
applyCheckboxRadioStyle();
|
||||
applyOnlyChanged();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user