Skip to content

Commit

Permalink
Merge branch 'googlev3_closebubble' of git://github.com/brunob/mxn
Browse files Browse the repository at this point in the history
  • Loading branch information
dezfowler committed Dec 22, 2010
2 parents c4b947e + bf1e380 commit c1c22bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/mxn.googlev3.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,10 @@ Marker: {
},

closeBubble: function() {
this.proprietary_infowindow.close();
this.closeInfoBubble.fire({'marker': this});
if (this.hasOwnProperty('proprietary_infowindow')) {
this.proprietary_infowindow.close();
this.closeInfoBubble.fire({'marker': this});
}
},

hide: function() {
Expand Down

0 comments on commit c1c22bc

Please sign in to comment.