add-to-calendar-buttons
add-to-calendar-buttons copied to clipboard
Method 2 bug in office 365 params
Wrapping short hand conditional in brackets otherwise will result in &location=true
'&location=' + (event.address || ''),
'&allday=' + (event.allday)?'true':'false'
will result in &location=,true which later turns into &location=true
wrapping the allday shorthand conditional in brackets returns it correctly as: &location=&allday=true
all nice work joe, thanks ! - I have no time to test & merge it now, but it all looks good, keep it up !
Thanks, no problem & no pressure as using a local version that I've manipulated on a project I've been looking at and this isn't under a package manager (That I know of?)
just FYI, I haven't re-built the minified file on this & the other PR, not sure how you are handling that so didn't want to touch until I knew