mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-09 19:15:52 +01:00
Fix some CPOW issues. Everything is still terrible, though.
This commit is contained in:
@@ -299,7 +299,7 @@ var DownloadList = Class("DownloadList",
|
||||
addDownload: function addDownload(download) {
|
||||
if (!this.downloads.has(download)) {
|
||||
download = Download(download, this);
|
||||
if (this.filter && !download.displayName.contains(this.filter))
|
||||
if (this.filter && !download.displayName.includes(this.filter))
|
||||
return;
|
||||
|
||||
this.downloads.set(download.download, download);
|
||||
|
||||
Reference in New Issue
Block a user