mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	reverse array
This commit is contained in:
		@@ -249,7 +249,7 @@ class ResultsList extends List {
 | 
				
			|||||||
        rc = document.getElementsByClassName("right-context");
 | 
					        rc = document.getElementsByClassName("right-context");
 | 
				
			||||||
        for (let element of lc) {
 | 
					        for (let element of lc) {
 | 
				
			||||||
          array = Array.from(element.childNodes);
 | 
					          array = Array.from(element.childNodes);
 | 
				
			||||||
          for (let element of array.slice(newContextValue)) {
 | 
					          for (let element of array.reverse().slice(newContextValue)) {
 | 
				
			||||||
            element.classList.add("hide");
 | 
					            element.classList.add("hide");
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          for (let element of array.slice(0, newContextValue)) {
 | 
					          for (let element of array.slice(0, newContextValue)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user