Skip to content

Commit 1557001

Browse files
committed
Removes unused title parameter
1 parent fd4f00f commit 1557001

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/filebrowser/src/listing.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,17 +2747,14 @@ export namespace DirListing {
27472747
/**
27482748
* Create a node for a header item.
27492749
*/
2750-
protected createHeaderItemNode(label: string, title?: string): HTMLElement {
2750+
protected createHeaderItemNode(label: string): HTMLElement {
27512751
const node = document.createElement('div');
27522752
const text = document.createElement('span');
27532753
const icon = document.createElement('span');
27542754
node.className = HEADER_ITEM_CLASS;
27552755
text.className = HEADER_ITEM_TEXT_CLASS;
27562756
icon.className = HEADER_ITEM_ICON_CLASS;
27572757
text.textContent = label;
2758-
if (title) {
2759-
text.title = title;
2760-
}
27612758
node.appendChild(text);
27622759
node.appendChild(icon);
27632760
return node;

0 commit comments

Comments
 (0)