Skip to content

Commit

Permalink
ui fixes:
Browse files Browse the repository at this point in the history
- make 'browsertrix' tab default
- add missing target="_blank"
  • Loading branch information
ikreymer committed Jun 4, 2024
1 parent 8145370 commit dcd03e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ArchiveWebApp extends ReplayWebApp

this.settingsError = "";

this.settingsTab = localStorage.getItem("settingsTab") || "ipfs";
this.settingsTab = localStorage.getItem("settingsTab") || "browsertrix";

try {
const res = localStorage.getItem("ipfsOpts");
Expand Down Expand Up @@ -718,7 +718,7 @@ class ArchiveWebApp extends ReplayWebApp
${this.settingsTab === "browsertrix" ? html`
<p class="is-size-6 mb-3">Configure your credentials to upload archived items to Browsertrix.</p>
<p class="is-size-7 p-4 has-background-info">Don't have a Browsertrix account? Visit <a href="https://browsertrix.com/">https://browsertrix.com/</a> for more info.</p>
<p class="is-size-7 p-4 has-background-info">Don't have a Browsertrix account? Visit <a target="_blank" href="https://browsertrix.com/">https://browsertrix.com/</a> for more info.</p>
<fieldset>
<div class="field has-addons">
<p class="is-expanded">
Expand Down

0 comments on commit dcd03e9

Please sign in to comment.