]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update scrollspy.md (#29156) 28352/head
authorBrian Juul Andersen <brianmanden@gmail.com>
Sun, 28 Jul 2019 11:02:23 +0000 (13:02 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 28 Jul 2019 11:02:23 +0000 (14:02 +0300)
Fixed minor grammatical error:

"... the best method get scroll ..."

=>

"... the best method to get scroll ..."

site/content/docs/4.3/components/scrollspy.md

index a77b936019c0d09bca16e52a3d15a182d0764fe2..f44e759b8a093175065130f9fd6b900d88f5b074 100644 (file)
@@ -307,7 +307,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
       <td>method</td>
       <td>string</td>
       <td>auto</td>
-      <td>Finds which section the spied element is in. <code>auto</code> will choose the best method get scroll coordinates. <code>offset</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect"><code>Element.getBoundingClientRect()</code></a> method to get scroll coordinates. <code>position</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop"><code>HTMLElement.offsetTop</code></a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft"><code>HTMLElement.offsetLeft</code></a> properties to get scroll coordinates.</td>
+      <td>Finds which section the spied element is in. <code>auto</code> will choose the best method to get scroll coordinates. <code>offset</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect"><code>Element.getBoundingClientRect()</code></a> method to get scroll coordinates. <code>position</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop"><code>HTMLElement.offsetTop</code></a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft"><code>HTMLElement.offsetLeft</code></a> properties to get scroll coordinates.</td>
     </tr>
     <tr>
       <td>target</td>