mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Don't allow zooming on animated gifs because zooming doesn't support them
This commit is contained in:
parent
f7d5cf4f58
commit
7361c71d2b
@ -98,7 +98,7 @@ final class RedditLinkData: Codable {
|
||||
guard let url = url else { return "" }
|
||||
|
||||
if url.hasSuffix(".gif") {
|
||||
return "<img src=\"\(url)\">"
|
||||
return "<img class=\"nnw-nozoom\" src=\"\(url)\">"
|
||||
}
|
||||
|
||||
if isVideo ?? false, let videoURL = media?.video?.hlsURL {
|
||||
|
Loading…
Reference in New Issue
Block a user