Update PluginRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2020-07-29 09:49:36 +02:00 committed by GitHub
parent 38241a5cab
commit 300415c269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -345,7 +345,7 @@ var PluginRepo = (_ => {
return class PluginRepo {
getName () {return "PluginRepo";}
getVersion () {return "2.0.2";}
getVersion () {return "2.0.3";}
getAuthor () {return "DevilBro";}
@ -516,7 +516,7 @@ var PluginRepo = (_ => {
let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020
if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) {
let newfavorites = [];
for (let url of oldfavorites) if (oldfavorites[url]) newfavorites.push(url);
for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url);
BDFDB.DataUtils.save(newfavorites, this, "favorites");
}
@ -975,4 +975,4 @@ var PluginRepo = (_ => {
}
})();
module.exports = PluginRepo;
module.exports = PluginRepo;