Update PluginRepo.plugin.js
This commit is contained in:
parent
38241a5cab
commit
300415c269
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue