[gnome-maps] placeBubble: Fix typo in check for favorite button



commit a1a9713b9c9d8b3eac8bc401c61f73a1295423c1
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Fri Feb 27 20:26:40 2015 +0100

    placeBubble: Fix typo in check for favorite button

 src/placeBubble.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index 9edea60..28061d6 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -46,7 +46,7 @@ const PlaceBubble = new Lang.Class({
 
         // We do not serialize contacts to file, so adding them
         // as favourites does not makes sense right now.
-        if (!params.place instanceof ContactPlace.ContactPlace)
+        if (!(params.place instanceof ContactPlace.ContactPlace))
             params.buttons |= MapBubble.Button.FAVORITE;
 
         this.parent(params);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]