Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e907e6d

Browse files
committed
reversed events order
1 parent 1cad168 commit e907e6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/partials/eventsScript.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ PLEASE DO NOT EDIT THIS
6767
var url = "https://graph.facebook.com/v2.10/1477893739095631/events?access_token=404649853235493%7CEInF9B-kIT0Tdpv_oyXBMIlfiDU";
6868
6969
$.get(url, {time_filter: "upcoming",{{#if upcomingLimit}}limit: "{{upcomingLimit}}"{{/if}} },function (events) {
70+
events.data.reverse();
7071
var newEventsPromises = events.data.map(function (event, index) {
7172
event.start_date = event.start_time.substring(0, 10);
7273
event.month = event.start_time.substring(5, 7);

0 commit comments

Comments
 (0)