From 7a6bec0230556e3431b800aa3d4408246f4d3d25 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 22 Sep 2024 21:52:34 +0300 Subject: [PATCH] Do not reload the page when removing a listing --- code.user.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code.user.js b/code.user.js index 8db81b5..6befa1e 100644 --- a/code.user.js +++ b/code.user.js @@ -3491,12 +3491,6 @@ updateMarketSelectAllButton(); }); - $('#market_removelisting_dialog_accept').on('click', '*', () => { - // This is when a user removed an item through the Remove/Cancel button. - // Ideally, it should remove this item from the list (instead of just the UI element which Steam does), but I'm not sure how to get the current item yet. - window.location.reload(); - }); - $('.select_overpriced').on('click', '*', function() { const selectionGroup = $(this).parent().parent().parent().parent(); const marketList = getListFromContainer(selectionGroup);