mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix error in layout trace viewer
This commit is contained in:
parent
ed45aa9efd
commit
a75d66d8f2
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function get_base(node) {
|
function get_base(node) {
|
||||||
|
if (node.id !== undefined) {
|
||||||
|
return node;
|
||||||
|
}
|
||||||
if (node.data.base !== undefined) {
|
if (node.data.base !== undefined) {
|
||||||
return node.data.base;
|
return node.data.base;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue