Skip to content

Commit

Permalink
Typo fix in onTabReplaced() [bugfix] (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxw42 committed Dec 22, 2022
1 parent 350867c commit 651df03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/settings/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ setting_definitions.push(
"type": "description",
"text": (
`<ul>
<li>Bugfixes ${issue(304)}</li>
</ul>
`
),
Expand Down
2 changes: 1 addition & 1 deletion app/win/main_tl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@ function onTabReplaced(addedTabId, removedTabId)
{
log.info(`Tab being replaced: ${removedTabId} -> ${addedTabId}`);

const errmsg = M.react_onTabReplaced(addedTabID, removedTabId);
const errmsg = M.react_onTabReplaced(addedTabId, removedTabId);

if(typeof(errmsg) === 'string') {
log.warn(`Could not replace ${removedTabId} with ${addedTabId}: ${errmsg}`);
Expand Down

0 comments on commit 651df03

Please sign in to comment.