diff --git a/docs/javascript.html b/docs/javascript.html index bf53d1e55a..2a38362891 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1687,7 +1687,7 @@ $('[data-spy="affix"]').each(function () { offset number | function | object 10 - Pixels to offset from screen when calculating position of scroll. If a single number is provide, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provided an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs). + Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs). diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 72d1fc5bba..2a60de4b0e 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -1617,7 +1617,7 @@ $('[data-spy="affix"]').each(function () { {{_i}}offset{{/i}} {{_i}}number | function | object{{/i}} {{_i}}10{{/i}} - {{_i}}Pixels to offset from screen when calculating position of scroll. If a single number is provide, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provided an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).{{/i}} + {{_i}}Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { x: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs).{{/i}}