Browse Source

Expand network configuration when adding a new network

fastled
Xose Pérez 7 years ago
parent
commit
c578d7e868
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      code/html/custom.js

+ 3
- 1
code/html/custom.js View File

@ -372,7 +372,9 @@ function init() {
$(".button-reconnect").on('click', doReconnect); $(".button-reconnect").on('click', doReconnect);
$(".button-apikey").on('click', doGenerateAPIKey); $(".button-apikey").on('click', doGenerateAPIKey);
$(".pure-menu-link").on('click', showPanel); $(".pure-menu-link").on('click', showPanel);
$(".button-add-network").on('click', addNetwork);
$(".button-add-network").on('click', function() {
$("div.more", addNetwork).toggle();
});
$.ajax({ $.ajax({
'method': 'GET', 'method': 'GET',


Loading…
Cancel
Save