Able to modify link in browser input

This commit is contained in:
2023-06-11 13:57:31 +03:00
parent 425b05edd4
commit f82c7fc724
2 changed files with 81 additions and 5 deletions

View File

@@ -182,10 +182,14 @@ class ShowPlugin extends connect(store)(LitElement) {
<button
class="add-tab-button"
title="Add Tab"
@click=${() => this.addTab({
url: "",
id: this.uid()
})}
@click=${() => {
const lengthOfTabs = this.tabs.length
this.addTab({
url: "",
id: this.uid()
})
this.currentTab = lengthOfTabs
}}
>
+
</button>