Skip to content

Commit e70410f

Browse files
committed
fix: IP-Hinzufügen-Button verwendet jetzt korrekte Feld-ID
1 parent 9f459dc commit e70410f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/frontend-advanced.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$(document).on('rex:ready', function() {
55
// Funktion zum Hinzufügen einer IP-Adresse zum Whitelist-Feld
66
function addIpToWhitelist(ip) {
7-
var ipField = $('input[name="config[maintenance][allowed_ips]"]');
7+
var ipField = $('#maintenance-allowed-ips');
88

99
if (!ipField.length) {
1010
console.error('IP field not found');

0 commit comments

Comments
 (0)