Skip to content

Commit

Permalink
Fixed line 23 and 25 with.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Oct 29, 2023
1 parent 4ae4fb5 commit 50778a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const makeLogInOutButton = (req) => {
const ep = isGuest ? 'login' : 'logout';
const buttonUri = `${endpoint(ep)}?redirect_uri=${encodeURIComponent(req.url)}`;
const buttonText = isGuest ? 'Log In' : 'Log Out';
return $('<div>')
return $.load('')('<div/>')
.addClass('btn-container')
.append($('<a>')
.append($.load('')('<a/>')
.attr('href', buttonUri)
.addClass('btn')
.addClass('btn-primary')
Expand Down

0 comments on commit 50778a0

Please sign in to comment.