[placeDisplay] Fix inverted logic for desktop-is-home case

We only want to hide the Desktop link if it desktopIsHome, not
if it isn't.
This commit is contained in:
Colin Walters 2009-11-16 14:10:13 -05:00
parent 9ba5ca0193
commit 1526500079

View File

@ -284,7 +284,7 @@ PlacesManager.prototype = {
getDefaultPlaces: function () {
let places = [this._home];
if (this._isDesktopHome)
if (!this._isDesktopHome)
places.push(this._desktopMenu);
if (this._network)