fix: Fixed the download animation appearing on all the windows, b=(closes #8247), c=no-component

This commit is contained in:
Mr. M 2025-05-13 16:07:24 +02:00
parent 641d4d0f87
commit 90876532b9
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18

View file

@ -43,7 +43,10 @@
}
#handleNewDownload() {
if (!Services.prefs.getBoolPref('zen.downloads.download-animation')) {
if (
!Services.prefs.getBoolPref('zen.downloads.download-animation') ||
!ZenMultiWindowFeature.isActiveWindow
) {
return;
}