blob: 6e7b15b5945eba32c86b565896a36095df02338c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* eslint-env browser */
export const info = {
id: 'cssCompatibilityAssistantInfo',
coverArtContainer: null,
coverArtImageDetails: null,
};
export function getPageReferences() {
info.coverArtContainer =
document.getElementById('cover-art-container');
info.coverArtImageDetails =
info.coverArtContainer?.querySelector('.image-details');
}
export function mutatePageContent() {
if (info.coverArtImageDetails) {
info.coverArtContainer.classList.add('has-image-details');
}
}
|