mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
discogs_importer: make /master/view/ pages act like /master/
This commit is contained in:
parent
5e178fd6a0
commit
b7a52ff58c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ var mblinks = new MBLinks('DISCOGS_MBLINKS_CACHE', 7*24*60, '1'); // force refre
|
|||
|
||||
$(document).ready(function(){
|
||||
|
||||
var current_page_key = getDiscogsLinkKey(window.location.href.replace(/\?.*$/, '').replace(/#.*$/, ''));
|
||||
var current_page_key = getDiscogsLinkKey(window.location.href.replace(/\?.*$/, '').replace(/#.*$/, '').replace('/master/view/', '/master/'));
|
||||
if (!current_page_key) return;
|
||||
|
||||
// disable evil pjax (used for artist page navigation)
|
||||
|
|
Loading…
Reference in a new issue