We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80a4bb2 commit 9f2a85dCopy full SHA for 9f2a85d
1 file changed
src/content/engines/integrations/rateyourmusic.js
@@ -12,8 +12,9 @@
12
insertWhere: 'prepend',
13
iconStyle: 'width: 20px; margin-right: 5px;',
14
getSearch: function(_el,doc){
15
- var n=doc.querySelector('.album_title');
16
- return (n && (n.textContent||'').trim())||'';
+ var qat = doc.querySelector('.album_title');
+ var album = (qat && (qat.textContent||'').split(" ")[0].trim())||'';
17
+ return `${album}`;
18
}
19
});
20
0 commit comments