[FIX] website_quote: fix menu link typo from 37ed5ce
This commit is contained in:
parent
37ed5ce844
commit
7ad626f8b6
|
@ -84,7 +84,7 @@ website.if_dom_contains('div.o_website_quote', function () {
|
||||||
case "h1":
|
case "h1":
|
||||||
id = _.uniqueId('quote_header_');
|
id = _.uniqueId('quote_header_');
|
||||||
$(this.parentNode).attr('id',id);
|
$(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;
|
sub_ul = null;
|
||||||
break;
|
break;
|
||||||
case "h2":
|
case "h2":
|
||||||
|
@ -94,7 +94,7 @@ website.if_dom_contains('div.o_website_quote', function () {
|
||||||
sub_ul = $("<ul class='nav'>").appendTo(sub_li);
|
sub_ul = $("<ul class='nav'>").appendTo(sub_li);
|
||||||
}
|
}
|
||||||
$(this.parentNode).attr('id',id);
|
$(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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue