Return an empty gif as image URL without data

<img> must always have a src attribute so using an empty image is more
compliant with the standards.
This commit is contained in:
Cédric Krier
2025-01-09 18:41:45 +01:00
parent 093fb115ff
commit ff6f920521
+2 -1
View File
@@ -4339,7 +4339,8 @@
Sao.common.image_url = function(data) {
if (!data) {
return null;
return (
'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D');
}
var type = '';
try {