From 1393678f0b7758244db471d383601508bda642ba Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 26 Feb 2019 16:39:30 +0200 Subject: [PATCH] Remove obsolete comments. --- js/src/modal.js | 1 - js/src/scrollspy.js | 1 - 2 files changed, 2 deletions(-) diff --git a/js/src/modal.js b/js/src/modal.js index ec85746ee7..59cea95bd0 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 d902017536..beea560d48 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