Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
Add _ filter to document title
Browse files Browse the repository at this point in the history
  • Loading branch information
scooterpsu committed Mar 22, 2021
1 parent b47bd8a commit d3c5d1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion comixology2/themeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ function containerWrap(wrapType){
fullLabel = fullLabel.replace(' - ', ': ');
}
fullLabel = fullLabel.replace('_ ', ': ');
fullLabel = fullLabel.replace('_', ' ');
fullLabel = fullLabel.replace('_', ' ');
if(showBookCount){
var issueCount = parseInt($(this).parent().parent().find('.numberblock').text());
var bookText;
Expand Down Expand Up @@ -1494,6 +1494,7 @@ function buildBreadcrumb(pageURL,pageNum){
label = label.replace(' - ', ': ');
}
label = label.replace('_ ', ': ');
label = label.replace('_', ' ');
if(pageURL != location.pathname){
$('.breadcrumb a:first-of-type').after(' > <a href="'+pageURL+'">'+label+'</a> ');
buildBreadcrumb(proxyPrefix+'/'+type+'/'+parent+'/',pageNum);
Expand Down

0 comments on commit d3c5d1b

Please sign in to comment.