Skip to content

Commit

Permalink
Update url_debug_message.html
Browse files Browse the repository at this point in the history
  • Loading branch information
luost26 committed Jul 17, 2024
1 parent b8e057c commit 434cdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/widgets/url_debug_message.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h5><i class="fas fa-exclamation-triangle"></i> Action required</h5>
</div>

<script>
striped_pathname = location.pathname.replace(/\/$/, "");
striped_pathname = location.pathname.replace(/\/+$/, "");
if(striped_pathname != "{{ site.baseurl }}"){
document.getElementById("url-debug-message").classList.remove('d-none');
}
Expand Down

0 comments on commit 434cdab

Please sign in to comment.