From: Brian Juul Andersen Date: Sun, 28 Jul 2019 11:02:23 +0000 (+0200) Subject: Update scrollspy.md (#29156) X-Git-Tag: v5.0.0-alpha1~901 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F28352%2Fhead;p=thirdparty%2Fbootstrap.git Update scrollspy.md (#29156) Fixed minor grammatical error: "... the best method get scroll ..." => "... the best method to get scroll ..." --- diff --git a/site/content/docs/4.3/components/scrollspy.md b/site/content/docs/4.3/components/scrollspy.md index a77b936019..f44e759b8a 100644 --- a/site/content/docs/4.3/components/scrollspy.md +++ b/site/content/docs/4.3/components/scrollspy.md @@ -307,7 +307,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap method string auto - Finds which section the spied element is in. auto will choose the best method get scroll coordinates. offset will use the Element.getBoundingClientRect() method to get scroll coordinates. position will use the HTMLElement.offsetTop and HTMLElement.offsetLeft properties to get scroll coordinates. + Finds which section the spied element is in. auto will choose the best method to get scroll coordinates. offset will use the Element.getBoundingClientRect() method to get scroll coordinates. position will use the HTMLElement.offsetTop and HTMLElement.offsetLeft properties to get scroll coordinates. target