ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
3.78k stars 464 forks source link

Fix a js error #524

Closed nanhantianyi closed 5 months ago

nanhantianyi commented 5 months ago

Call the js function updateSearchList in clients.html, not base.html. If it’s called in base.html, all other pages except clients.html will raise a function not defined error.

0xCA commented 5 months ago

There is no search list on other pages though? It would be better to call updateSearchList in clients.html instead of moving the function.

nanhantianyi commented 5 months ago

There is no search list on other pages though? It would be better to call updateSearchList in clients.html instead of moving the function.

@0xCA Thank you for your suggestion.