mirror of
https://github.com/pi-hole/web.git
synced 2026-07-08 07:24:02 +01:00
6b5e9dfa50
The "Add" button has the same `.saveRevServers` CSS class as the other normal "Save" buttons. This is fine and simplifies the code, as all rows (including the last one) use the same validation pattern and functions. The only difference is the `addRevServer` function, used to save the new values. Preceding the selector with `tbody`, makes sure only the normal "Save" buttons will use the `saveRecord()` function. Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>