[REV]remove unwanted changes
bzr revid: mba@tinyerp.com-20140224120826-s7m08sljp5mhrqke
This commit is contained in:
parent
8a95bef8df
commit
20a50c791c
|
@ -139,6 +139,7 @@
|
|||
$(".popover #comment").val('')
|
||||
var ele = $('a[data-discus-identifier="'+ self.discus_identifier +'"]');
|
||||
ele.text(_.isNaN(parseInt(ele.text())) ? 1 : parseInt(ele.text())+1)
|
||||
ele.addClass('has-comments');
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -48,12 +48,10 @@ $(document).ready(function() {
|
|||
//bind again it takes control from now on, until page relaod.
|
||||
$(document).find('.cover_footer').on('click',page_transist);
|
||||
$(document).find('a[href^="#blog_content"]').on('click', animate);
|
||||
def.done( function(){
|
||||
var content = $(document).find("#blog_content p");
|
||||
if (content && discussion)
|
||||
new openerp.website.blog_discussion({'content' : content});
|
||||
if (share) $("p").share();
|
||||
});
|
||||
var content = $(document).find("#blog_content p");
|
||||
if (content && discussion)
|
||||
new openerp.website.blog_discussion({'content' : content});
|
||||
if (share) $("p").share();
|
||||
});
|
||||
if (newLocation != window.location) {
|
||||
history.pushState(null, null, newLocation);
|
||||
|
|
Loading…
Reference in New Issue