Skip to content

Commit

Permalink
Fixed CSS selector syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Tietew authored and PragTob committed Feb 27, 2020
1 parent dbcc16a commit 899afdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $(document).ready(function () {
if (window.location.hash) {
var anchor = window.location.hash.substring(1);
if (anchor.length == 40) {
$('a.src_link[href=#' + anchor + ']').click();
$('a.src_link[href="#' + anchor + '"]').click();
} else {
$('.group_tabs a.' + anchor.replace('_', '')).click();
}
Expand Down
Loading

0 comments on commit 899afdd

Please sign in to comment.