This commit is contained in:
parent
2f327744cb
commit
df31288218
|
|
@ -766,6 +766,20 @@ $(function() {
|
||||||
$(this).attr("style", newStyle);
|
$(this).attr("style", newStyle);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$(function() {
|
||||||
|
function fixThColspanScope() {
|
||||||
|
setTimeout(function() {
|
||||||
|
$('th[colspan]').each(function() {
|
||||||
|
var colspan = parseInt($(this).attr('colspan'), 10);
|
||||||
|
if (colspan >= 2) {
|
||||||
|
$(this).attr('scope', 'colgroup');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, 500);
|
||||||
|
}
|
||||||
|
|
||||||
|
fixThColspanScope();
|
||||||
|
});
|
||||||
// //表格scope
|
// //表格scope
|
||||||
// $("table").each(function() {
|
// $("table").each(function() {
|
||||||
// $(this).find("tr").each(function(rowIndex) {
|
// $(this).find("tr").each(function(rowIndex) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue