diff --git a/js/account/home.js b/js/account/home.js
index 859f436..5b0fe8a 100755
--- a/js/account/home.js
+++ b/js/account/home.js
@@ -25,7 +25,7 @@ let GameContainerElement = `
+
+
Quickly clear specific parts of the extension's local data
+
+
+
+
+
+
Quickly clear specific parts of the extension's local data
@@ -136,6 +140,24 @@ document.getElementById('reset-settings').addEventListener('click', async functi
});
});
+document.getElementById('example-pinnedgames').addEventListener('click', function(){
+ chrome.storage.sync.set({ 'PolyPlus_PinnedGames': [6012, 3857, 2537] }, function() {
+ alert('Successfully loaded example for Pinned Games!')
+ });
+});
+
+document.getElementById('example-bestfriends').addEventListener('click', function(){
+ chrome.storage.sync.set({ 'PolyPlus_BestFriends': [1, 2, 3] }, function() {
+ alert('Successfully loaded example for Best Friends!')
+ });
+});
+
+document.getElementById('example-itemwishlist').addEventListener('click', function(){
+ chrome.storage.sync.set({ 'PolyPlus_ItemWishlist': [31495, 31493, 31492] }, function() {
+ alert('Successfully loaded example for Item Wishlist!')
+ });
+});
+
document.getElementById('clear-pinnedgames').addEventListener('click', function(){
chrome.storage.sync.set({ 'PolyPlus_PinnedGames': [] }, function() {
alert('Successfully cleared Pinned Games!')
diff --git a/js/store/store.js b/js/store/store.js
index 24e7a54..570f218 100755
--- a/js/store/store.js
+++ b/js/store/store.js
@@ -74,7 +74,7 @@ async function LoadIRLPrices(element) {
const Span = document.createElement('span')
Span.classList = 'text-muted polyplus-price-tag'
Span.style.fontSize = '0.7rem'
- const Price = Parent.innerText
+ const Price = Parent.innerText.split(' ')[1]
const Result = await Utilities.CalculateIRL(Price, Settings.IRLPriceWithCurrencyCurrency)
Span.innerText = "($" + Result.bricks + " " + Result.display + ")"
Parent.appendChild(Span)