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