From dec2faec3d1ebdf0f72d5814e570ebc453346cde Mon Sep 17 00:00:00 2001 From: Bryan Braun Date: Fri, 15 May 2015 00:37:07 -0400 Subject: Update Anchor.js and port over the existing styles. Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it from the codebase and move any leftover styles over to docs.css. Closes #16488 by merging it. --- docs/assets/js/src/application.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 35f39f6f0..51f42cd05 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -9,7 +9,7 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ -/* global ZeroClipboard, addAnchors */ +/* global ZeroClipboard, anchors */ !function ($) { 'use strict'; @@ -178,5 +178,6 @@ ;(function () { 'use strict'; - addAnchors('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5') + anchors.options.placement = 'left'; + anchors.add('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5') })(); -- cgit v1.2.3