Skip to content

Commit 68aa2e1

Browse files
authored
Merge pull request #36626 from chengxiangdong/fix
fix: remove unused variable and symbol
2 parents d772e76 + 508f53d commit 68aa2e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/js/glossary.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ $( document ).ready(function() {
3737

3838
function updateParams(paramHash) {
3939
var urlWithoutQuery = window.location.href.split('?')[0];
40-
var urlHash = window.location.hash;
4140
window.history.pushState(null,null, urlWithoutQuery + "?" + $.param(paramHash) + window.location.hash);
4241
}
4342

@@ -158,7 +157,7 @@ $( document ).ready(function() {
158157
permalink.removeClass("hide");
159158
}).mouseleave(function(){
160159
permalink.addClass("hide");
161-
});;
160+
});
162161
});
163162
};
164163

0 commit comments

Comments
 (0)