barsa-novin-ray-core 2.3.80 → 2.3.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2342,7 +2342,7 @@ function SaveImageToFile(name, src) {
2342
2342
  const t = getUniqueId(4);
2343
2343
  var link = document.createElement('a');
2344
2344
  link.href = src;
2345
- link.download = name;
2345
+ link.download = name ? name.split('.')[0] : '';
2346
2346
  document.body.appendChild(link);
2347
2347
  link.click();
2348
2348
  setTimeout(function () {