Hello,
after updating a big project of ours, we now get the following error when using shariff:
Uncaught TypeError: Cannot read property 'title' of undefined
at s.getTitle (shariff.js:160)
Here is the concerned code part:
getTitle() {
let title = this.getOption('title')
if ($(this.element).data()['title']) return title <---------
title = title || this.getMeta('DC.title')
let creator = this.getMeta('DC.creator')
return (title && creator) ? `${title} - ${creator}` : title
}
Could this be a bug in shariff or is something with our config just wrong (probably something about jquery)?
Hello, after updating a big project of ours, we now get the following error when using shariff:
Here is the concerned code part:
Could this be a bug in shariff or is something with our config just wrong (probably something about jquery)?