Shellscript updating

This commit is contained in:
Lars Müller 2018-08-16 22:34:00 +02:00
parent 1e0e546764
commit f29a706fd4
9 changed files with 18 additions and 9 deletions

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -67,7 +67,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;

View File

@ -61,7 +61,8 @@
var last=""
var objDiv=document.getElementById("toc")
function scroll() {
var elem=document.getElementsByClassName("nav-link active")[0]
var elem=document.getElementsByClassName("nav-link active")
elem=elem[elem.length-1]
console.log(elem.textContent)
if (elem != null && last != elem.textContent) {
last=elem.textContent;