mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Remove unneeeded etail
This commit is contained in:
1 parent
ca5ee547fd
commit
6b81a0f586
1 file changed
+2
-3
@@ -989,7 +989,7 @@ function applyMediaSettings(element, asset) {
|
||||
playPromise.catch(() => {
|
||||
if (!shouldMute && wasMuted) {
|
||||
element.muted = true;
|
||||
element.play().catch(() => {});
|
||||
element.play().catch(() => { });
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1461,9 +1461,8 @@ function updateSelectedAssetSummary(asset) {
|
||||
}
|
||||
if (selectedAssetMeta) {
|
||||
const baseMeta = asset ? `${Math.round(asset.width)}x${Math.round(asset.height)}` : null;
|
||||
const layerMeta = asset && !isAudioAsset(asset) ? ` · Layer ${asset.zIndex ?? 1}` : '';
|
||||
selectedAssetMeta.textContent = asset
|
||||
? `${baseMeta}${layerMeta}`
|
||||
? `${baseMeta}`
|
||||
: 'Pick an asset in the list to adjust its placement and playback.';
|
||||
}
|
||||
if (selectedAssetIdLabel) {
|
||||
|
||||
Reference in new issue
Block a user