Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Remove jquery from votes #206

Merged
merged 2 commits into from
Aug 14, 2024
Merged

DEV: Remove jquery from votes #206

merged 2 commits into from
Aug 14, 2024

Conversation

janzenisaac
Copy link
Contributor

No description provided.

@@ -73,7 +73,7 @@ export default createWidget("vote-button", {
click() {
if (!this.currentUser) {
this.sendWidgetAction("showLogin");
$.cookie("destination_url", window.location.href);
cookie("destination_url", window.location.href, { path: "/" });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that work when using subfolder?

Copy link
Member

@ZogStriP ZogStriP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@janzenisaac janzenisaac merged commit e6dbd1f into main Aug 14, 2024
5 checks passed
@janzenisaac janzenisaac deleted the remove-jquery branch August 14, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants