mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	remove vidoes if theres none duh
This commit is contained in:
		
							parent
							
								
									358a4d8311
								
							
						
					
					
						commit
						76dae85866
					
				| @ -896,8 +896,15 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< | ||||
|                                                                 <% } %> | ||||
| 
 | ||||
|                                                                                      <% if (tab === "shorts") { %> | ||||
|  <%  if (Array?.isArray(tj?.videos)) { %>  | ||||
|    <%  if (tj?.videos[0]) { %>  | ||||
| <%  if (turntomins(tj?.videos[0]?.lengthSeconds)  != "aN:aN" ) { %>  | ||||
| 
 | ||||
|                 <a href="/channel?id=<%=ID%>" class="tab" style="color:#cfe2f3;">Videos</a> | ||||
|   <% } %> | ||||
|       <% } %> | ||||
| 
 | ||||
|       <% } %> | ||||
| <%  if (Array?.isArray(shorts?.videos)) { %>  | ||||
| 
 | ||||
|                    <a href="/channel?id=<%=ID%>&tab=shorts" class="tab active shr">Shorts</a> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley