Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tfedor committed Aug 4, 2019
2 parents 9dd4a59 + 8ffdfea commit d4ac943
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 d4ac943

Please sign in to comment.