farhan 3 months ago
parent
commit
8a4fb69f3d
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      resources/views/modals/calendar-modal.blade.php

+ 9
- 9
resources/views/modals/calendar-modal.blade.php View File

@@ -279,15 +279,15 @@
279 279
 
280 280
         if (os === 'iOS') {
281 281
             const icsContent = `BEGIN:VCALENDAR
282
-                                VERSION:2.0
283
-                                BEGIN:VEVENT
284
-                                SUMMARY:${title}
285
-                                DTSTART:${startDate}
286
-                                DTEND:${endDate}
287
-                                DESCRIPTION:${details}
288
-                                LOCATION:${location}
289
-                                END:VEVENT
290
-                                END:VCALENDAR`;
282
+VERSION:2.0
283
+BEGIN:VEVENT
284
+SUMMARY:${title}
285
+DTSTART:${startDate}
286
+DTEND:${endDate}
287
+DESCRIPTION:${details}
288
+LOCATION:${location}
289
+END:VEVENT
290
+END:VCALENDAR`;
291 291
 
292 292
             const dataURI = 'data:text/calendar;charset=utf-8,' + encodeURIComponent(icsContent);
293 293
             const a = document.createElement('a');

Loading…
Cancel
Save