Skip to content

Commit 69afbb2

Browse files
committed
V1.2.4
1 parent dffacb8 commit 69afbb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Enhanced Barter.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @icon https://bartervg.com/imgs/ico/barter/favicon-32x32.png
44
// @namespace Revadike
55
// @author Revadike
6-
// @version 1.2.3
6+
// @version 1.2.4
77
// @description This userscript aims to enhance your experience at barter.vg
88
// @match https://barter.vg/*
99
// @match https://wwww.barter.vg/*
@@ -95,7 +95,7 @@ function barterReady() {
9595
</li>`);
9696

9797
$(".sortBy").after(`<div id="filtercontainer">
98-
<span class="activityIcon normal gray">¶</span> Filter by
98+
<span class="activityIcon normal gray">¶</span> Filter by
9999
<input id="filterBy" type="text" placeholder="Search in displayed rows..." style="width: 530px;">
100100
</div>`);
101101
$("#filtercontainer").attr("class", $(".sortBy").attr("class"));
@@ -910,7 +910,7 @@ function setupAutomatedOffer() {
910910
<li><input type="checkbox" name="platform" id="keyjoker" value="158"><label for="keyjoker">KeyJoker</label></li>
911911
<li><input type="checkbox" name="platform" id="devsource" value="159"><label for="devsource">From Dev / Pub</label></li>
912912
<li><input type="checkbox" name="platform" id="blank" value="160"><label for="blank">WeGame X</label></li>
913-
<li><input type="checkbox" name="platform" id="blank" value="161"><label for="blank">Indie Face Kick</label></li>
913+
<li><input type="checkbox" name="platform" id="blank" value="161"><label for="blank">Indie Face Kick</label></li>
914914
</ul>
915915
</div>`);
916916

@@ -1671,8 +1671,8 @@ function passesTheirPreferences(game, user, optins, group, offeringcount) { // g
16711671
if (pass && user.hasOwnProperty("user_id") && optins.hasOwnProperty(user.user_id)) {
16721672
pass = pass && optins[user.user_id][my_user_id];
16731673
}
1674-
} else if (pass && user.hasOwnProperty("user_id") && optins.hasOwnProperty(user.user_id)) {
1675-
pass = pass && optins[user.user_id];
1674+
} else if (pass && user.hasOwnProperty("steam_id64_string") && optins.hasOwnProperty(user.steam_id64_string)) {
1675+
pass = pass && optins[user.steam_id64_string];
16761676
}
16771677

16781678
if (pass && user.hasOwnProperty("wants_unowned")) {

0 commit comments

Comments
 (0)