diff --git a/dist/ratchet.js b/dist/ratchet.js index d5936cd..693e5d5 100644 --- a/dist/ratchet.js +++ b/dist/ratchet.js @@ -506,7 +506,7 @@ } data.title = head.querySelector('title'); - data.title = data.title && data.title.innerText && data.title.innerText.trim(); + data.title = data.title && data.title.innerText.trim(); if (options.transition) data = extendWithDom(data, '.content', body); else data.contents = body; diff --git a/lib/js/push.js b/lib/js/push.js index c783d2a..b044a52 100644 --- a/lib/js/push.js +++ b/lib/js/push.js @@ -397,7 +397,7 @@ } data.title = head.querySelector('title'); - data.title = data.title && data.title.innerText && data.title.innerText.trim(); + data.title = data.title && data.title.innerText.trim(); if (options.transition) data = extendWithDom(data, '.content', body); else data.contents = body;