Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0fbfda3

Browse files
committed
Merge pull requestmarianoguerra#28 from benroy73/master
Put table rows in a tbody element. This is needed for bootstrap to style...
2 parentsf959de6 +1d2b2f5 commit0fbfda3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/json.human.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
if(isEmpty){
203203
result=sn("span",OBJ_EMPTY_CLASS_NAME,"(Empty Object)");
204204
}else{
205-
result=scn("table",OBJECT_CLASS_NAME,childs);
205+
result=scn("table",OBJECT_CLASS_NAME,scn("tbody",'',childs));
206206
}
207207
break;
208208
caseFUNCTION:
@@ -244,7 +244,7 @@
244244
childs.push(tr);
245245
}
246246

247-
result=scn("table",ARRAY_CLASS_NAME,childs);
247+
result=scn("table",ARRAY_CLASS_NAME,scn("tbody",'',childs));
248248
}else{
249249
result=sn("span",ARRAY_EMPTY_CLASS_NAME,"(Empty List)");
250250
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp