We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab1605c + 832b3cd commit 2b97963Copy full SHA for 2b97963
src/content/peerconnection/trickle-ice/js/main.js
@@ -77,6 +77,11 @@ function selectServer(event) {
77
}
78
79
function addServer() {
80
+ if (urlInput.value === '' && usernameInput.value === '' && passwordInput.value === '') {
81
+ // Ignore since this leads to invisible items being added to the list.
82
+ console.warn('Not adding empty ICE server input');
83
+ return;
84
+ }
85
// Store the ICE server as a stringified JSON object in option.value.
86
const option = document.createElement('option');
87
const iceServer = {
0 commit comments