WebSite X5Help Center

 
Klaus G.
Klaus G.
User

Es wurden Browserfehler in der Konsole protokolliert  de

Autor: Klaus G.
Visitado 24, Seguidores 1, Compartilhado 0  

Hallo Eric,

beim testen der Webseite wird mir immer dieser Fehler angezeigt:

TypeError: Cannot read properties of undefined (reading 'replace') at HTMLDocument.<anonymous> (https://www.der-schuhmacher-kempten.de/:279:116) at e3 (https://www.der-schuhmacher-kempten.de/res/jquery.js?2026-3-7-0:1:33228) at t3 (https://www.der-schuhmacher-kempten.de/res/jquery.js?2026-3-7-0:1:33576)     ???????

Kannst du das bitte mal kontrollieren.

Danke dir

Gruß

KLAUS

Publicado em
1 RESPOSTAS
Incomedia
Eric C.
Incomedia

Hello Klaus,
the error points towards this code:

<script>
$(document).ready(function() {
K1 = $('#imStickyBar_imMenuObject_03_container');
$(K1).html($(K1).html().replace('▼', '<span style="color:red">▼</span>'));
K2 = $('#imStickyBar_imMenuObject_03_container > ul > li:nth-child(3)');
$(K2).html($(K2).html().replace('▼', '<span style="color:red">▼</span>'));
K3 = $('#imStickyBar_imMenuObject_03_container > ul > li:nth-child(4)');
$(K3).html($(K3).html().replace('▼', '<span style="color:red">▼</span>'));
K4 = $('#imStickyBar_imMenuObject_03_container .imMnMnLast');
$(K4).html($(K4).html().replace('▼', '<span style="color:red">▼</span>'));
});
</script>

Could you review it?

Online translation:

Hallo Klaus,
der Fehler weist auf folgenden Code hin:

<script>
$(document).ready(function() {
K1 = $('#imStickyBar_imMenuObject_03_container');
$(K1).html($(K1).html().replace('▼', '<span style="color:red">▼</span>'));
K2 = $('#imStickyBar_imMenuObject_03_container > ul > li:nth-child(3)');
$(K2).html($(K2).html().replace('▼', '<span style="color:red">▼</span>'));
K3 = $('#imStickyBar_imMenuObject_03_container > ul > li:nth-child(4)');
$(K3).html($(K3).html().replace('▼', '<span style="color:red">▼</span>'));
K4 = $('#imStickyBar_imMenuObject_03_container .imMnMnLast');
$(K4).html($(K4).html().replace('▼', '<span style="color:red">▼</span>'));
});
</script>

Könnten Sie diesen bitte überprüfen?

Ler mais
Publicado em de Eric C.