[FIX] website_quote: fix menu link typo from 37ed5ce

This commit is contained in:
Nicolas Lempereur
2016-01-12 20:08:24 +01:00
parent 37ed5ce844
commit 7ad626f8b6
@@ -84,7 +84,7 @@ website.if_dom_contains('div.o_website_quote', function () {
case "h1":
id = _.uniqueId('quote_header_');
$(this.parentNode).attr('id',id);
sub_li = $("<li>").html('<a href="#'+id+'"/>').text($(this).text()).appendTo(ul);
sub_li = $("<li>").append($('<a href="#'+id+'"/>').text($(this).text())).appendTo(ul);
sub_ul = null;
break;
case "h2":
@@ -94,7 +94,7 @@ website.if_dom_contains('div.o_website_quote', function () {
sub_ul = $("<ul class='nav'>").appendTo(sub_li);
}
$(this.parentNode).attr('id',id);
$("<li>").html('<a href="#'+id+'"/>').text($(this).text()).appendTo(sub_ul);
$("<li>").append($('<a href="#'+id+'"/>').text($(this).text())).appendTo(sub_ul);
}
break;
}