diff --git a/code/html/custom.js b/code/html/custom.js index 7204d646..1c87f734 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -390,7 +390,7 @@ function init() { $(".button-apikey").on('click', doGenerateAPIKey); $(".pure-menu-link").on('click', showPanel); $(".button-add-network").on('click', function() { - $("div.more", addNetwork).toggle(); + $("div.more", addNetwork()).toggle(); }); $.ajax({