]> cat aescling's git repositories - mastodon.git/commit
Add button to view context to media modal (#10676)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 3 May 2019 14:16:30 +0000 (16:16 +0200)
committerGitHub <noreply@github.com>
Fri, 3 May 2019 14:16:30 +0000 (16:16 +0200)
commiteb63217210b0ab85ff1fcca9506d5e7931382a56
tree7d89373f2f0aa4c5ced184a265ae188d5efe9ce3
parentecbea2e3c6e49387b1eaefbbebd2013867414ca2
Add button to view context to media modal (#10676)

* Add "view context" button to media modal when opened from gallery

* Add "view context" button to video modal

Allow closing the video modal by navigating back in the browser,
just like the media modal
app/javascript/mastodon/features/account_gallery/index.js
app/javascript/mastodon/features/ui/components/media_modal.js
app/javascript/mastodon/features/ui/components/video_modal.js
app/javascript/mastodon/features/video/index.js
app/javascript/styles/mastodon/components.scss