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

Fix elements in post preview being uninteractable #2334

Merged
merged 6 commits into from
Feb 9, 2018
Merged

Fix elements in post preview being uninteractable #2334

merged 6 commits into from
Feb 9, 2018

Conversation

LiquidPL
Copy link
Contributor

@LiquidPL LiquidPL commented Feb 7, 2018

Fixes #2333.

Not sure if it should be this way, but it should work.

Fixes #2333.

Not sure if it should be this way, but it should work.
@nanaya
Copy link
Collaborator

nanaya commented Feb 8, 2018

It was originally because some elements aren't generated with correct stuff (thread link for example). Probably can be removed if that link is replaced with dummy link and remove all overlay related things as well.

@@ -43,7 +43,7 @@ class="forum-post__stripe"

<div class="forum-post__body">
<div class="forum-post__content forum-post__content--header">
<a class="js-post-url link link--gray" href="{{ route('forum.posts.show', $post->post_id) }}">
<a class="js-post-url link link--gray" href="{{ $options['preview'] ? '#' : route('forum.posts.show', $post->post_id) }}">

This comment was marked as off-topic.

@nanaya nanaya merged commit c31384a into ppy:master Feb 9, 2018
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.

3 participants