From 1af7f4f110bec1bc6f7265eb0ffb2124cbe87fec Mon Sep 17 00:00:00 2001 From: Igor Lima Date: Wed, 10 Apr 2013 22:19:33 -0300 Subject: [PATCH] Fix push transition. --- dist/ratchet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ratchet.js b/dist/ratchet.js index 084a559..f762855 100644 --- a/dist/ratchet.js +++ b/dist/ratchet.js @@ -491,7 +491,7 @@ } data.title = head.querySelector('title'); - data.title = data.title && data.title.innerText.trim(); + data.title = data.title && data.title.innerText && data.title.innerText.trim(); if (options.transition) data = extendWithDom(data, '.content', body); else data.contents = body;