Seems like this is not needed
Fix See Post button not opening the post
This commit is contained in:
parent
b5250f03c1
commit
f6ef727cae
1 changed files with 8 additions and 8 deletions
|
@ -219,14 +219,14 @@ function MediaModal({
|
||||||
: ''
|
: ''
|
||||||
}`}
|
}`}
|
||||||
class="button carousel-button media-post-link plain3"
|
class="button carousel-button media-post-link plain3"
|
||||||
onClick={() => {
|
// onClick={() => {
|
||||||
// if small screen (not media query min-width 40em + 350px), run onClose
|
// // if small screen (not media query min-width 40em + 350px), run onClose
|
||||||
if (
|
// if (
|
||||||
!window.matchMedia('(min-width: calc(40em + 350px))').matches
|
// !window.matchMedia('(min-width: calc(40em + 350px))').matches
|
||||||
) {
|
// ) {
|
||||||
onClose();
|
// onClose();
|
||||||
}
|
// }
|
||||||
}}
|
// }}
|
||||||
>
|
>
|
||||||
<span class="button-label">See post </span>»
|
<span class="button-label">See post </span>»
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Add table
Reference in a new issue