mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
WebUI: Use CSS to alternate row colors in transferlist
Keep the old code for IE < 9, the majority of the browsers shouldn't need it. Also, keep the CSS code in one place.
This commit is contained in:
@@ -63,6 +63,9 @@ var dynamicTable = new Class({
|
||||
},
|
||||
|
||||
altRow : function () {
|
||||
if (!MUI.ieLegacySupport)
|
||||
return;
|
||||
|
||||
var trs = this.table.getElements('tr');
|
||||
trs.each(function (el, i) {
|
||||
if (i % 2) {
|
||||
|
||||
Reference in New Issue
Block a user