Browse Source

reverting a change that seems to break navigation when you save to homescreen.

pull/253/head
connors 11 years ago
parent
commit
d44f254ac8
  1. 2
      dist/ratchet.js
  2. 2
      lib/js/push.js

2
dist/ratchet.js vendored

@ -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;

2
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;

Loading…
Cancel
Save