Plugin AP List: Fix table width problem in Firefox

This commit is contained in:
Xelio 2013-03-25 15:10:46 +08:00
parent b7bbc75c77
commit e97925b7f0
2 changed files with 10 additions and 10 deletions

View File

@ -36,7 +36,7 @@
}
.ap-list-td-checkbox {
width: 5%;
width: 18px;
height: 1px;
}
@ -46,18 +46,20 @@
}
.ap-list-td-link-eny {
width: 70%;
}
.ap-list-td-link-frd {
width: 75%;
}
.ap-list-td-ap {
width: 18%;
width: 44px;
white-space:nowrap;
}
.ap-list-td-eff-lv {
width: 20px;
}
.ap-list-checkbox-outer {
display: table;
height: 100%;

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @id iitc-plugin-ap-list@xelio
// @name IITC plugin: AP List
// @version 0.4.4.@@DATETIMEVERSION@@
// @version 0.4.5.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@ -60,14 +60,12 @@ window.plugin.apList.updatePortalTable = function(side) {
+ plugin.apList.tableHeaderBuilder(side)
+ '</thead>';
table += '<tbody>'
for(var i = 0; i < plugin.apList.topMaxCount; i++) {
var portal = plugin.apList.sortedPortals[side][i];
table += '<tbody>'
+ plugin.apList.tableRowBuilder(side, portal)
+ '</tbody>';
table += plugin.apList.tableRowBuilder(side, portal);
}
table += "</table>";
table += '</tbody></table>';
$('div#ap-list-table').html(table);
}