[FIX] : edit bar disappear, on page transition
bzr revid: aja@tinyerp.com-20140212102646-g8hvpoddunb04kop
This commit is contained in:
parent
0063c1c9e7
commit
f52ba6927e
|
@ -28,7 +28,7 @@ $(document).ready(function() {
|
|||
$.ajax({
|
||||
url: newLocation,
|
||||
}).done(function(data) {
|
||||
document.getElementsByTagName('html')[0].innerHTML = data;
|
||||
$('main').html($(data).find('main').html());
|
||||
if (newLocation != window.location) {
|
||||
history.pushState(null, null, newLocation);
|
||||
}
|
||||
|
|
|
@ -276,7 +276,8 @@
|
|||
</xpath>
|
||||
<xpath expr="//section[@id='comments']" position="after">
|
||||
<div class="cover_footer mb0" t-attf-style="background-image: url(#{next_post.content_image})">
|
||||
<a class="js_next " t-attf-href="/blogpost/#{ slug(next_post) }"><p class="text-center">Read Next</p></a>
|
||||
<p class="text-center">Read Next</p>
|
||||
<a class="hidden js_next" t-attf-href="/blogpost/#{ slug(next_post) }#wrap"/>
|
||||
<h1 class="text-center" t-field="next_post.name"/>
|
||||
<h2 class="text-center" t-field="next_post.sub_title"/>
|
||||
<div class="text-center blog_item">
|
||||
|
|
Loading…
Reference in New Issue