Merge pull request #22578 from tengqm/fix-script-error
Remove customization of 'anchors'
This commit is contained in:
commit
65498d7a84
|
@ -1,11 +1,3 @@
|
||||||
function addAnchorTags() {
|
|
||||||
anchors.options = {
|
|
||||||
visible: 'touch'
|
|
||||||
}
|
|
||||||
|
|
||||||
anchors.add('#docsContent h2, #docsContent h3, #docsContent h4, #docsContent h5, #docsContent h6');
|
|
||||||
}
|
|
||||||
|
|
||||||
//modal close button
|
//modal close button
|
||||||
(function(){
|
(function(){
|
||||||
//π.modalCloseButton = function(closingFunction){
|
//π.modalCloseButton = function(closingFunction){
|
||||||
|
@ -517,9 +509,6 @@ var pushmenu = (function(){
|
||||||
})();
|
})();
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
addAnchorTags();
|
|
||||||
|
|
||||||
|
|
||||||
// If vendor strip doesn't exist add className
|
// If vendor strip doesn't exist add className
|
||||||
if ( !$('#vendorStrip').length > 0 ) {
|
if ( !$('#vendorStrip').length > 0 ) {
|
||||||
$('.header-hero').addClass('bot-bar');
|
$('.header-hero').addClass('bot-bar');
|
||||||
|
|
Loading…
Reference in New Issue