mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-31 04:32:20 -06:00 
			
		
		
		
	indent
This commit is contained in:
		
							parent
							
								
									66dc8b5c9f
								
							
						
					
					
						commit
						ad85713693
					
				|  | @ -5607,16 +5607,16 @@ var thegrid = (function () { | ||||||
| 				r.bbox_opts.refocus = true; | 				r.bbox_opts.refocus = true; | ||||||
| 			}, | 			}, | ||||||
| 			captions: function (g, idx) { | 			captions: function (g, idx) { | ||||||
|                 var h = '' + g; | 				var h = '' + g; | ||||||
| 
 | 
 | ||||||
| 				return '<a download href="' + h + | 				return '<a download href="' + h + | ||||||
| 					'">' + (idx + 1) + ' / ' + this.length + ' -- ' + | 					'">' + (idx + 1) + ' / ' + this.length + ' -- ' + | ||||||
| 					esc(uricom_dec(h.split('/').pop())) + '</a>'; | 					esc(uricom_dec(h.split('/').pop())) + '</a>'; | ||||||
| 			}, | 			}, | ||||||
| 			onChange: function (i, maxIdx) { | 			onChange: function (i, maxIdx) { | ||||||
|                 if (this[i].imageElement) { | 				if (this[i].imageElement) { | ||||||
|                     sethash('g' + this[i].imageElement.getAttribute('ref') + getsort()); | 					sethash('g' + this[i].imageElement.getAttribute('ref') + getsort()); | ||||||
|                 } | 				} | ||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
| 		r.bbox = true; | 		r.bbox = true; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue