[REV]remove unwanted changes

bzr revid: mba@tinyerp.com-20140224120826-s7m08sljp5mhrqke
This commit is contained in:
Mahendra Barad (OpenERP) 2014-02-24 17:38:26 +05:30
parent 8a95bef8df
commit 20a50c791c
2 changed files with 5 additions and 6 deletions

View File

@ -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');
});
}
},

View File

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