farhan 4 meses atrás
pai
commit
8a4fb69f3d
1 arquivos alterados com 9 adições e 9 exclusões
  1. 9
    9
      resources/views/modals/calendar-modal.blade.php

+ 9
- 9
resources/views/modals/calendar-modal.blade.php Ver arquivo

@@ -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');

Carregando…
Cancelar
Salvar