Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sharath-kannan committed Nov 13, 2024
1 parent 6522411 commit 185bf61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/blocks/aside/aside.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function decorateLayout(el) {
const foregroundImage = foreground.querySelector(':scope > div:not(.text) img')?.closest('div');
const bgImage = el.querySelector(':scope > div:not(.text):not(.foreground) img')?.closest('div');
const foregroundMedia = foreground.querySelector(':scope > div:not(.text) :is(.video-container, video, a[href*=".mp4"], a[href*="tv.adobe.com"])')
?.closest('div:not(.video-container)');
?.closest('div:not(.video-container)');
const bgMedia = el.querySelector(':scope > div:not(.text):not(.foreground) video, :scope > div:not(.text):not(.foreground) a:is([href*=".mp4"], [href*="tv.adobe.com"])')?.closest('div');
const image = foregroundImage ?? bgImage;
const asideMedia = foregroundMedia ?? bgMedia ?? image;
Expand Down
2 changes: 1 addition & 1 deletion libs/utils/decorate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createTag, loadStyle, getConfig, createIntersectionObserver } from './utils.js';
import { getFederatedContentRoot, getFedsPlaceholderConfig } from "./federated.js"
import { getFederatedContentRoot, getFedsPlaceholderConfig } from './federated.js';

const { miloLibs, codeRoot } = getConfig();
const HIDE_CONTROLS = '_hide-controls';
Expand Down

0 comments on commit 185bf61

Please sign in to comment.