Skip to content

Commit

Permalink
Merge pull request IsThereAnyDeal#366 from MxtOUT/postMerge
Browse files Browse the repository at this point in the history
Post merge fixes
  • Loading branch information
tfedor authored Aug 4, 2019
2 parents a4f5f3d + d47e964 commit 8ffdfea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ class SteamCommunity extends Api {
result = await SteamCommunity.getEndpoint(`/inventory/${login.steamId}/753/${contextId}`, thisParams);
if (result && result.success) {
if (!data) data = { "assets": [], "descriptions": [] };
data.assets = data.assets.concat(result.assets);
data.descriptions = data.descriptions.concat(result.descriptions);
if (result.assets) data.assets = data.assets.concat(result.assets);
if (result.descriptions) data.descriptions = data.descriptions.concat();
}
last_assetid = result.last_assetid;
} while (result.more_items);
Expand Down
2 changes: 1 addition & 1 deletion js/content/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Customizer {
let elements;

if (typeof targets === "string") {
elements = document.querySelectorAll(targets);
elements = Array.from(document.querySelectorAll(targets));
} else if (targets instanceof NodeList) {
elements = Array.from(targets);
} else {
Expand Down

0 comments on commit 8ffdfea

Please sign in to comment.