diff --git a/plugins/lazyYT/assets/javascripts/lazyYT.js b/plugins/lazyYT/assets/javascripts/lazyYT.js index 1f2cc9068fe..7af4f825876 100644 --- a/plugins/lazyYT/assets/javascripts/lazyYT.js +++ b/plugins/lazyYT/assets/javascripts/lazyYT.js @@ -65,7 +65,7 @@ innerHtml.push('
'); innerHtml.push('
'); innerHtml.push(''); - if (title === null || title === '') { + if (title === undefined || title === null || title === '') { innerHtml.push('https://www.youtube.com/watch?v=' + id); } else { innerHtml.push(title);