Skip to content

Commit 65498d7

Browse files
authored
Merge pull request #22578 from tengqm/fix-script-error
Remove customization of 'anchors'
2 parents fbadc3b + 8a1ccdd commit 65498d7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

static/js/script.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
function addAnchorTags() {
2-
anchors.options = {
3-
visible: 'touch'
4-
}
5-
6-
anchors.add('#docsContent h2, #docsContent h3, #docsContent h4, #docsContent h5, #docsContent h6');
7-
}
8-
91
//modal close button
102
(function(){
113
//π.modalCloseButton = function(closingFunction){
@@ -517,9 +509,6 @@ var pushmenu = (function(){
517509
})();
518510

519511
$(function() {
520-
addAnchorTags();
521-
522-
523512
// If vendor strip doesn't exist add className
524513
if ( !$('#vendorStrip').length > 0 ) {
525514
$('.header-hero').addClass('bot-bar');

0 commit comments

Comments
 (0)