Skip to content

Commit 899afdd

Browse files
TietewPragTob
authored andcommitted
Fixed CSS selector syntax
1 parent dbcc16a commit 899afdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/javascripts/application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ $(document).ready(function () {
107107
if (window.location.hash) {
108108
var anchor = window.location.hash.substring(1);
109109
if (anchor.length == 40) {
110-
$('a.src_link[href=#' + anchor + ']').click();
110+
$('a.src_link[href="#' + anchor + '"]').click();
111111
} else {
112112
$('.group_tabs a.' + anchor.replace('_', '')).click();
113113
}

0 commit comments

Comments
 (0)