Fix image size for svg files
This commit is contained in:
parent
51e4071bb5
commit
7851d5f774
@ -254,8 +254,13 @@
|
||||
file_name_prop.textContent = ie.parentElement.getAttribute('data-name');
|
||||
file_size_prop.textContent = ie.parentElement.getAttribute('data-size') + " B";
|
||||
image_type_prop.textContent = ie.parentElement.getAttribute('data-type');
|
||||
if (ie.getAttribute('data-size') == "x") {
|
||||
res_prop_wrapper.style.display = "none";
|
||||
} else {
|
||||
res_prop_wrapper.style.display = "flex";
|
||||
image_size_prop.textContent = ie.getAttribute('data-size');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function video_ready(ve) {
|
||||
|
Loading…
Reference in New Issue
Block a user