don't provide "max rank" option for mods where maxRank=0
This commit is contained in:
		
							parent
							
								
									a49edefbd1
								
							
						
					
					
						commit
						45fbdd1f35
					
				@ -788,7 +788,7 @@ function updateInventory() {
 | 
				
			|||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        const td = document.createElement("td");
 | 
					                        const td = document.createElement("td");
 | 
				
			||||||
                        td.classList = "text-end text-nowrap";
 | 
					                        td.classList = "text-end text-nowrap";
 | 
				
			||||||
                        {
 | 
					                        if (maxRank != 0) {
 | 
				
			||||||
                            const a = document.createElement("a");
 | 
					                            const a = document.createElement("a");
 | 
				
			||||||
                            a.href = "#";
 | 
					                            a.href = "#";
 | 
				
			||||||
                            a.onclick = function (event) {
 | 
					                            a.onclick = function (event) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user