mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWebView: Clear the style and font tabs when the Inspector is reset
This commit is contained in:
committed by
Andreas Kling
parent
5233f9c8e6
commit
440f40fde6
@@ -103,6 +103,15 @@ inspector.reset = () => {
|
||||
let accessibilityTree = document.getElementById("accessibility-tree");
|
||||
accessibilityTree.innerHTML = "";
|
||||
|
||||
let styleSheetPicker = document.getElementById("style-sheet-picker");
|
||||
styleSheetPicker.replaceChildren();
|
||||
|
||||
let styleSheetSource = document.getElementById("style-sheet-source");
|
||||
styleSheetSource.innerHTML = "";
|
||||
|
||||
let fontsList = document.getElementById("fonts-list");
|
||||
fontsList.innerHTML = "";
|
||||
|
||||
selectedDOMNode = null;
|
||||
pendingEditDOMNode = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user