We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f459dc commit e70410fCopy full SHA for e70410f
assets/js/frontend-advanced.js
@@ -4,7 +4,7 @@
4
$(document).on('rex:ready', function() {
5
// Funktion zum Hinzufügen einer IP-Adresse zum Whitelist-Feld
6
function addIpToWhitelist(ip) {
7
- var ipField = $('input[name="config[maintenance][allowed_ips]"]');
+ var ipField = $('#maintenance-allowed-ips');
8
9
if (!ipField.length) {
10
console.error('IP field not found');
0 commit comments