Skip to content

Commit

Permalink
Merge pull request #178 from salcido/feature
Browse files Browse the repository at this point in the history
  • Loading branch information
salcido authored May 19, 2022
2 parents 1fb3b89 + 1057111 commit b92511f
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions css/blocked-seller.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
height: 14px;
width: 14px;
margin-top: 3px;
margin-left: 3px;
vertical-align: top;
}

Expand Down
4 changes: 4 additions & 0 deletions css/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3452,6 +3452,10 @@
}
}

div[class*="noItems_"] {
background: #292929 !important;
}

div[class*="profile_"] {

a[class*="headericon_"] {
Expand Down
2 changes: 1 addition & 1 deletion js/extension/features/block-sellers.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rl.ready(() => {
if (!querySelector) throw new Error('No querySelector argument passed to blockSellers call.');

if (querySelector === marketplaceQuerySelector) {
tag = 'li';
tag = 'li strong';
clazz = '.shortcut_navigable';
} else {
tag = 'strong';
Expand Down
2 changes: 1 addition & 1 deletion js/extension/features/favorite-sellers.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ rl.ready(() => {
icon.title = `${seller} is on your Favorite Sellers list.`;
icon.dataset.placement = 'bottom';
icon.rel = 'tooltip';
name.closest('li').insertAdjacentElement('beforeend', icon);
name.closest('li strong').insertAdjacentElement('beforeend', icon);
}
});
});
Expand Down
4 changes: 2 additions & 2 deletions js/extension/features/seller-rep.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rl.ready(() => {
}

seller_info[i].classList.add('de-seller-rep');
seller_info[i].querySelector('li:first-child')
seller_info[i].querySelector('li .seller_block:first-child')
.insertAdjacentElement('beforeend', icon);
}
});
Expand All @@ -87,7 +87,7 @@ rl.ready(() => {
display: inline-block;
height: 14px;
width: 14px;
margin-top: 3px;
margin-top: 0px;
margin-left: 3px;
vertical-align: top;
}
Expand Down
2 changes: 1 addition & 1 deletion js/extension/features/show-sellers-in-cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ rl.ready(() => {
icon.dataset.placement = 'bottom';
icon.rel = 'tooltip';
icon.title = `There is at least one item from ${seller} in your cart.`;
name.closest('li').insertAdjacentElement('beforeend', icon);
name.closest('li strong').insertAdjacentElement('beforeend', icon);
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion js/extension/user-preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ appendFragment([resourceLibrary])
.then(() => migratePreferences())
.then(() => {

let blockedUsers = ['Efx.Libris'],
let blockedUsers = ['Efx.Libris', 'ElectroDaddy'],
user = window.getCookie('ck_username');

if ( user && blockedUsers.includes(user) ) {
Expand Down
2 changes: 1 addition & 1 deletion js/popup/change-log.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
current: [
{
version: '3.0.1',
version: '3.0.2',
features: [
{
name: 'Block Sellers Directly From The Marketplace',
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Discogs Enhancer",
"short_name": "Discogs Enhancer",
"description": "Adds a dark theme, block sellers, price comparisons, currency converter, configurable quick search, & more to Discogs!",
"version": "3.0.1",
"version": "3.0.2",
"author": "Matthew Salcido",
"homepage_url": "https://www.discogs-enhancer.com",
"action": {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discogs-enhancer",
"version": "3.0.1",
"version": "3.0.2",
"description": "A Chrome extension that adds useful functionality to Discogs.com! https://www.discogs-enhancer.com",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b92511f

Please sign in to comment.