mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Remove obsolete comments.
This commit is contained in:
parent
dd0239d169
commit
1393678f0b
@ -418,7 +418,6 @@ class Modal {
|
|||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// the following methods are used to handle overflowing modals
|
// the following methods are used to handle overflowing modals
|
||||||
// todo (fat): these should probably be refactored out of modal.js
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
_adjustDialog() {
|
_adjustDialog() {
|
||||||
|
@ -138,7 +138,6 @@ class ScrollSpy {
|
|||||||
if (target) {
|
if (target) {
|
||||||
const targetBCR = target.getBoundingClientRect()
|
const targetBCR = target.getBoundingClientRect()
|
||||||
if (targetBCR.width || targetBCR.height) {
|
if (targetBCR.width || targetBCR.height) {
|
||||||
// TODO (fat): remove sketch reliance on jQuery position/offset
|
|
||||||
return [
|
return [
|
||||||
Manipulator[offsetMethod](target).top + offsetBase,
|
Manipulator[offsetMethod](target).top + offsetBase,
|
||||||
targetSelector
|
targetSelector
|
||||||
|
Loading…
x
Reference in New Issue
Block a user