Merge pull request #2865 from int2001/bandlistFix
Fix Highlighting of current QRG for Bootstrap5
这个提交包含在:
		
						当前提交
						9e356b8065
					
				
					共有  2 个文件被更改,包括 6 次插入 和 4 次删除
				
			
		|  | @ -66,7 +66,7 @@ $(function() { | ||||||
| 								}  | 								}  | ||||||
| 							}); | 							}); | ||||||
| 							if (!update) { 	// Sth. Fresh? So highlight
 | 							if (!update) { 	// Sth. Fresh? So highlight
 | ||||||
| 								table.rows.add(data).draw().nodes().to$().addClass("fresh bg-info");  | 								table.rows.add(data).draw().nodes().to$().addClass("fresh table-info");  | ||||||
| 							} else {  | 							} else {  | ||||||
| 								table.rows.add(data).draw();  | 								table.rows.add(data).draw();  | ||||||
| 							} | 							} | ||||||
|  | @ -94,9 +94,11 @@ $(function() { | ||||||
| 			if (distance<=20) { | 			if (distance<=20) { | ||||||
| 				distance++; | 				distance++; | ||||||
| 				alpha=(.5/distance); | 				alpha=(.5/distance); | ||||||
| 				this.nodes().to$().css('background-color', 'rgba(0,0,255,' + alpha + ')'); | 				this.nodes().to$().css('--bs-table-bg', 'rgba(0,0,255,' + alpha + ')'); | ||||||
|  | 				this.nodes().to$().css('--bs-table-accent-bg', 'rgba(0,0,255,' + alpha + ')'); | ||||||
| 			} else { | 			} else { | ||||||
| 				this.nodes().to$().css('background-color', ''); | 				this.nodes().to$().css('--bs-table-bg', ''); | ||||||
|  | 				this.nodes().to$().css('--bs-table-accent-bg', ''); | ||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用