Skip to content

Add an href for the restrict button - #7

Open
Rebeccaxxxxx wants to merge 1 commit into
ossd-sp22:mainfrom
Rebeccaxxxxx:main
Open

Add an href for the restrict button#7
Rebeccaxxxxx wants to merge 1 commit into
ossd-sp22:mainfrom
Rebeccaxxxxx:main

Conversation

@Rebeccaxxxxx

Copy link
Copy Markdown

Hi, I noticed that the restrict button in the popup didn't do anything, so I thought it would be nice if the user clicks on it, it redirects to the study/default page!
I tried to use a js function and window.location but bumped into promise error, so I ended up adding a link to the button in HTML, which directs to google.
Hopefully it's helpful!

@Rebeccaxxxxx Rebeccaxxxxx changed the title Add a href for the restrict button Add an href for the restrict button May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant