Fix image size for svg files
This commit is contained in:
parent
51e4071bb5
commit
7851d5f774
@ -254,7 +254,12 @@
|
||||
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');
|
||||
image_size_prop.textContent = ie.getAttribute('data-size');
|
||||
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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user