cleanup: Avoid unnecessary parentheses
Extra parentheses usually add noise rather than clarity, so avoid them. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
ebf77748a8
commit
e44adb92cf
@@ -181,7 +181,7 @@ function loadRemoteSearchProviders(searchSettings, callback) {
|
||||
return -1;
|
||||
|
||||
// finally, if both providers are found, return their order in the list
|
||||
return (idxA - idxB);
|
||||
return idxA - idxB;
|
||||
});
|
||||
|
||||
callback(loadedProviders);
|
||||
|
Reference in New Issue
Block a user