aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-26 16:39:30 +0200
committerXhmikosR <[email protected]>2019-03-11 17:01:28 +0200
commit1393678f0b7758244db471d383601508bda642ba (patch)
tree03decc4ff58515538e991772f65af5e2d8cea914 /js/src
parentdd0239d169c456e7f504522d6759a629c8b6301a (diff)
downloadbootstrap-1393678f0b7758244db471d383601508bda642ba.tar.xz
bootstrap-1393678f0b7758244db471d383601508bda642ba.zip
Remove obsolete comments.
Diffstat (limited to 'js/src')
-rw-r--r--js/src/modal.js1
-rw-r--r--js/src/scrollspy.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/js/src/modal.js b/js/src/modal.js
index ec85746ee..59cea95bd 100644
--- a/js/src/modal.js
+++ b/js/src/modal.js
@@ -418,7 +418,6 @@ class Modal {
// ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
- // todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
_adjustDialog() {
diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js
index d90201753..beea560d4 100644
--- a/js/src/scrollspy.js
+++ b/js/src/scrollspy.js
@@ -138,7 +138,6 @@ class ScrollSpy {
if (target) {
const targetBCR = target.getBoundingClientRect()
if (targetBCR.width || targetBCR.height) {
- // TODO (fat): remove sketch reliance on jQuery position/offset
return [
Manipulator[offsetMethod](target).top + offsetBase,
targetSelector