Skip to content

Commit

Permalink
Merge pull request #117 from dany-eudes/patch-1
Browse files Browse the repository at this point in the history
Minor typo in window.open() parameter: scrollbars
  • Loading branch information
acidjazz committed Jan 3, 2024
2 parents 62f002a + 9c58bfc commit bea7a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/layout/LayoutLoginModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function login(provider: 'facebook' | 'google'): void {
const left = window.screen.width / 2 - (width / 2)
const top = window.screen.height / 2 - (height / 2)
const win = window.open(`${config.public.apiURL}/redirect/${provider}`, 'Log In',
`toolbar=no, location=no, directories=no, status=no, menubar=no, scollbars=no,
`toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no,
resizable=no, copyhistory=no, width=${width},height=${height},top=${top},left=${left}`)
const interval = setInterval(() => {
if (win === null || win.closed) {
Expand Down

0 comments on commit bea7a20

Please sign in to comment.