unfold when selecting via menu
This commit is contained in:
@@ -125,6 +125,7 @@ function make_menu() {
|
|||||||
document.getElementById(this.value).scrollIntoView();
|
document.getElementById(this.value).scrollIntoView();
|
||||||
var head=this.value.replace(/^anchor/,"head");
|
var head=this.value.replace(/^anchor/,"head");
|
||||||
document.getElementById(head).classList.add("blink");
|
document.getElementById(head).classList.add("blink");
|
||||||
|
fold_set(head.replace("head_",""),false);
|
||||||
setTimeout(function(){ document.getElementById(head).classList.remove("blink"); }, 3000);
|
setTimeout(function(){ document.getElementById(head).classList.remove("blink"); }, 3000);
|
||||||
document.getElementById("menu").value="";
|
document.getElementById("menu").value="";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user