cleanup: Don't add linebreak before operators
When breaking overly long conditions into multiple lines, the operator should end the previous line instead of starting the new one. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
@ -909,8 +909,8 @@ class NMWirelessDialog extends ModalDialog.ModalDialog {
|
||||
this._client.activate_connection_async(connection, this._device, null, null, null);
|
||||
} else {
|
||||
let accessPoints = network.accessPoints;
|
||||
if ((accessPoints[0]._secType == NMAccessPointSecurity.WPA2_ENT)
|
||||
|| (accessPoints[0]._secType == NMAccessPointSecurity.WPA_ENT)) {
|
||||
if ((accessPoints[0]._secType == NMAccessPointSecurity.WPA2_ENT) ||
|
||||
(accessPoints[0]._secType == NMAccessPointSecurity.WPA_ENT)) {
|
||||
// 802.1x-enabled APs require further configuration, so they're
|
||||
// handled in gnome-control-center
|
||||
Util.spawn(['gnome-control-center', 'wifi', 'connect-8021x-wifi',
|
||||
|
Reference in New Issue
Block a user