Skip to content

Commit

Permalink
Fix passing quoted SSID on web page
Browse files Browse the repository at this point in the history
  • Loading branch information
maximkulkin committed Feb 4, 2019
1 parent 308c516 commit 824114d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h1>Join WiFi network</h1>
nets[i].onclick = function(event) {
event.preventDefault();
selectNetwork(this);
ssid_field.value = this.innerHTML;
ssid_field.value = this.innerText;
hide(password_block);
disable(password_field);
password_field.value = '';
Expand All @@ -125,7 +125,7 @@ <h1>Join WiFi network</h1>
nets[i].onclick = function(event) {
event.preventDefault();
selectNetwork(this);
ssid_field.value = this.innerHTML;
ssid_field.value = this.innerText;
enable(password_field);
show(password_block);
disable(join_button);
Expand Down

0 comments on commit 824114d

Please sign in to comment.