Skip to content

Conversation

@Bgreen23
Copy link
Contributor

@Bgreen23 Bgreen23 commented May 6, 2021

This PR wraps tutorial cards in an <a> tag to solve the issue of JS hijacking default on-click behavior.

Issue: pytorch/pytorch_sphinx_theme#93

Screenshot to show card body wrapped by an <a> tag

Screen Shot 2021-05-05 at 6 13 53 PM

NOTE

The cmd + click functionality in the Netlify preview will open a card in a new tab and also return an undefined page. PR #120 fixes this issue by removing the JS responsible.

@netlify
Copy link

netlify bot commented May 6, 2021

Deploy preview for pytorch-tutorials-preview ready!

Built with commit be38a39

https://deploy-preview-1511--pytorch-tutorials-preview.netlify.app

@brianjo brianjo merged commit 5aabdab into pytorch:master May 10, 2021
9bow added a commit to PyTorchKorea/tutorials-kr that referenced this pull request May 16, 2021
9bow added a commit to PyTorchKorea/tutorials-kr that referenced this pull request May 16, 2021
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants