Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wattnpapa committed Sep 13, 2016
1 parent de1cf95 commit 6b239e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/leaflet-ais-tracksymbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ L.AISTrackSymbol = L.TrackSymbol.extend({
if(aisData.utcHour) this.setUTCHour(aisData.utcHour);
if(aisData.utcMinute) this.setUTCMinute(aisData.utcMinute);
if(aisData.utcSecond) this.setUTCSecond(aisData.utcSecond);
this._setNameByMMSITable();
this.setNameByMMSITable();
this.setLastUpdate();
this.labelAndPopupUpdate();
},
Expand Down Expand Up @@ -579,7 +579,7 @@ L.AISTrackSymbol = L.TrackSymbol.extend({
*
* @private
*/
_setNameByMMSITable: function(){
setNameByMMSITable: function(){
if (typeof MMSI !== 'undefined')
if(MMSI[this.getMmsi()])
this.setName(MMSI[this.getMmsi()]);
Expand Down
Loading

0 comments on commit 6b239e7

Please sign in to comment.