File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
plugins/StashRandomButton Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7373 if ( pathname === '/images' || / ^ \/ i m a g e s \/ \d + $ / . test ( pathname ) )
7474 return randomGlobal ( 'Image' , 'images' , '/images/' ) ;
7575
76- if ( pathname === '/performers' || / ^ \/ p e r f o r m e r s \/ \d + $ / . test ( pathname ) )
76+ if ( pathname === '/performers' )
7777 return randomGlobal ( 'Performer' , 'performers' , '/performers/' ) ;
7878
79- if ( pathname === '/studios' || / ^ \/ s t u d i o s \/ \d + $ / . test ( pathname ) )
79+ if ( pathname === '/studios' )
8080 return randomGlobal ( 'Studio' , 'studios' , '/studios/' ) ;
8181
82- if ( pathname === '/tags' || / ^ \/ t a g s \/ \d + $ / . test ( pathname ) )
82+ if ( pathname === '/tags' )
8383 return randomGlobal ( 'Tag' , 'tags' , '/tags/' ) ;
8484
85- if ( pathname === '/groups' || / ^ \/ g r o u p s \/ \d + $ / . test ( pathname ) )
85+ if ( pathname === '/groups' )
8686 return randomGlobal ( 'Group' , 'groups' , '/groups/' ) ;
8787
8888 if ( pathname === '/galleries' )
You can’t perform that action at this time.
0 commit comments