Skip to content

Commit

Permalink
Update WMEPIE.js
Browse files Browse the repository at this point in the history
  • Loading branch information
justins83 authored Feb 5, 2019
1 parent bfb686f commit 9f1ca38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WMEPIE.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME Place Interface Enhancements
// @namespace https://greasyfork.org/users/30701-justins83-waze
// @version 2019.02.05.02
// @version 2019.02.05.03
// @description Enhancements to various Place interfaces
// @include https://www.waze.com/editor*
// @include https://www.waze.com/*/editor*
Expand Down Expand Up @@ -1452,7 +1452,7 @@ var UpdateObject, MultiAction;

// Pull natural text from opening hours
function getOpeningHours(venue) {
return venue && venue.attributes.getOpeningHours && venue.attributes.getOpeningHours().map(formatOpeningHour);
return venue && venue.attributes.openingHours && venue.attributes.openingHours.map(formatOpeningHour);
}

//*******/
Expand Down

0 comments on commit 9f1ca38

Please sign in to comment.