Skip to content

Commit

Permalink
Merge pull request #24 from ThinLiquid:main
Browse files Browse the repository at this point in the history
🩹 fix: browser new tab button
  • Loading branch information
ThinLiquid authored Jul 20, 2023
2 parents 1bf9e32 + 502e601 commit c58e159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FlowOS/public/builtin/apps/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<span class="tabs-container">
<span class="tabs"></span>
</span>
<div><a style="padding: 5px 10px" class="material-icons" onclick="new Tab();">add</a></div>
<div><a style="padding: 5px 10px" class="material-icons" onclick="window.newTab();">add</a></div>
</div>

<div class="topnav tb">
Expand Down
4 changes: 3 additions & 1 deletion FlowOS/public/builtin/apps/scripts/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,6 @@ document.querySelector('.hide').onclick = () => {
}

inputShowing = !inputShowing;
};
};

window.newTab = () => new Tab();

0 comments on commit c58e159

Please sign in to comment.