mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-29 22:12:21 +00:00
edit js/ditto
This commit is contained in:
parent
751de5d559
commit
8deca4b878
@ -46,7 +46,7 @@ function init_sidebar_section() {
|
|||||||
menuOL.attr('start',0);
|
menuOL.attr('start',0);
|
||||||
|
|
||||||
menuOL.find('li a').map(function(){
|
menuOL.find('li a').map(function(){
|
||||||
menu.push(this.href);
|
menu.push(this.href.slice(this.href.indexOf('#')));
|
||||||
});
|
});
|
||||||
}, "text").fail(function() {
|
}, "text").fail(function() {
|
||||||
alert("Opps! can't find the sidebar file to display!");
|
alert("Opps! can't find the sidebar file to display!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user