]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove obsolete comments.
authorXhmikosR <xhmikosr@gmail.com>
Tue, 26 Feb 2019 14:39:30 +0000 (16:39 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 11 Mar 2019 15:01:28 +0000 (17:01 +0200)
js/src/modal.js
js/src/scrollspy.js

index ec85746ee7b7cd1790e797b5bcde8767fa44f773..59cea95bd07a8ceb1dea26cf6b6bcb55ba529aec 100644 (file)
@@ -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() {
index d902017536abdefc506e181360b3e6d0a960b1bf..beea560d48b6fcd001c1f9d392d67264f7290e2c 100644 (file)
@@ -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