default plugins now have navbar removal logic

This commit is contained in:
Kevin Froman 2019-12-06 01:21:30 -06:00
parent 1eb7880de9
commit fd6096a93c
10 changed files with 78 additions and 24 deletions

View file

@ -26,7 +26,7 @@ function sortEntries(){
}
for (i = 0; i < entries.length; i++){
console.log(i)
if (entries[i].getAttribute('timestamp') > timestamp){
if(entries[i].previousElementSibling){
entries[i].parentNode.insertBefore(entries[i], entries[i].previousElementSibling)