Skip to content

Commit

Permalink
Revert "background gifs: show placeholder while loading"
Browse files Browse the repository at this point in the history
This reverts commit 169b62c.
  • Loading branch information
marcustyphoon committed Feb 8, 2025
1 parent 972a8b1 commit ae018e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/features/accesskit/disable_gifs.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ const processBackgroundGifs = function (gifBackgroundElements) {
const sourceUrl = sourceValue.match(sourceUrlRegex)?.[0];

if (sourceUrl) {
gifBackgroundElement.style.setProperty(
pausedBackgroundImageVar,
'linear-gradient(rgb(var(--secondary-accent), 0.1), rgb(var(--secondary-accent), 0.1))'
);
gifBackgroundElement.style.setProperty(
pausedBackgroundImageVar,
sourceValue.replaceAll(sourceUrlRegex, await createPausedUrl(sourceUrl))
Expand Down

0 comments on commit ae018e2

Please sign in to comment.