mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-11-04 22:53:23 +01:00
Small fixes
This commit is contained in:
parent
0a0ef5bedd
commit
3503c81274
@ -82,7 +82,7 @@
|
||||
_statusField.html(statusText);
|
||||
_actionField.html(actionText);
|
||||
|
||||
if(data.status == NetworkAPI.STATUS.CONNECTED) {
|
||||
if(data.status === NetworkAPI.STATUS.CONNECTED) {
|
||||
_networkAPI.stopAutoRefresh();
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
||||
console.log(" network: ",network);
|
||||
linkParams.ssid = network.ssid;
|
||||
|
||||
var secured = (network.encryption !== "none" && network.encryption !== "")
|
||||
var secured = (network.encryption !== "none" && network.encryption !== "");
|
||||
var link;
|
||||
var icon = "";
|
||||
if(secured) {
|
||||
|
@ -19,12 +19,9 @@ d3d.util = {
|
||||
var pair = value.split( "=" );
|
||||
if ( pair.length > 0 && pair[ 0 ] ) {
|
||||
parameters[ pair[ 0 ] ] =
|
||||
( pair.length > 1 ? pair[ 1 ] : true );
|
||||
( pair.length > 1 ? decodeURIComponent(pair[ 1 ]) : true );
|
||||
}
|
||||
});
|
||||
$.each(parameters, function( index, value ) {
|
||||
parameters[index] = decodeURIComponent(value)
|
||||
});
|
||||
}
|
||||
return {
|
||||
parsed: parsed,
|
||||
|
Loading…
Reference in New Issue
Block a user