Fix facebook dates. #271

This commit is contained in:
Michael Teeuw
2016-05-03 11:56:24 +02:00
parent 05a946e2bf
commit 37f8c0783d
3 changed files with 9 additions and 8 deletions

View File

@@ -121,10 +121,9 @@ Module.register("calendar",{
if (this.config.displayRepeatingCountTitle) {
repeatingCountTitle = this.countTitleForUrl(event.url)
repeatingCountTitle = this.countTitleForUrl(event.url);
if(repeatingCountTitle != '') {
if(repeatingCountTitle !== '') {
var thisYear = new Date().getFullYear(),
yearDiff = thisYear - event.firstYear;