Skip to content

Commit 550af66

Browse files
committed
compiled files
1 parent 6ef5594 commit 550af66

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

public/js/dist/floating-buttons.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ export default class FloatingButtons {
156156
window.addEventListener('scroll', () => {
157157
// on scroll we only need to check the mode; throttle via rAF
158158
if (!this._ticking) {
159-
console.log('ticking', this._ticking);
160159
this._ticking = true;
161160
window.requestAnimationFrame(() => {
162161
this.updatePositionMode();
@@ -190,8 +189,6 @@ export default class FloatingButtons {
190189
updatePositionMode() {
191190
if (!this.advancedSearchPanel || !this.floatingButtonContainer) return;
192191

193-
console.log('update');
194-
195192
// always refresh natural height (don't rely on stale stored value)
196193
this.advancedSearchPanelHeight = this._getNaturalPanelHeight();
197194

@@ -245,10 +242,8 @@ export default class FloatingButtons {
245242
// Only update mode if it changed
246243
if (newMode !== this._currentMode) {
247244
if (newMode === PositionMode.FIXED) {
248-
console.log('setFixedMode');
249245
this._setFixedMode();
250246
} else {
251-
console.log('setScrollableMode');
252247
this._setScrollableMode();
253248
}
254249
this._currentMode = newMode;
@@ -272,12 +267,6 @@ export default class FloatingButtons {
272267
_setScrollableMode() {
273268
if (!this.floatingButtonContainer || !this.advancedSearchPanel) return;
274269

275-
// // if already scrollable, nothing to do
276-
// if (this.floatingButtonContainer.classList.contains('floatingButtons-fab-scrollable-wrapper')) {
277-
// console.log('abort');
278-
// return;
279-
// }
280-
281270
// ensure panel can be a positioned ancestor
282271
const panelStyle = window.getComputedStyle(this.advancedSearchPanel);
283272
if (panelStyle.position === 'static') {
@@ -317,7 +306,6 @@ export default class FloatingButtons {
317306
const centerX = panelRect.left + (panelRect.width / 2) + scrollLeft;
318307
this.floatingButtonContainer.style.left = `${centerX}px`;
319308
this.floatingButtonContainer.style.transform = 'translateX(-50%)';
320-
console.log('panelRect', panelRect, 'scrollLeft', scrollLeft);
321309
}
322310

323311
// restore panel position style if we changed it earlier

public/js/dist/floating-buttons.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"/css/dist/modal.min.css": "/css/dist/modal.min.css?id=52cec51e3f1db875dd7cc586f7ed5593",
3333
"/css/dist/filterInputs.css": "/css/dist/filterInputs.css?id=f4f1d563934f4d5b952f01a63dfdb259",
3434
"/css/dist/filterInputs.min.css": "/css/dist/filterInputs.min.css?id=f4f1d563934f4d5b952f01a63dfdb259",
35-
"/js/dist/floating-buttons.js": "/js/dist/floating-buttons.js?id=b4a18a3f76b383f6d8322f8e4be1cfee",
36-
"/js/dist/floating-buttons.min.js": "/js/dist/floating-buttons.min.js?id=b4a18a3f76b383f6d8322f8e4be1cfee",
35+
"/js/dist/floating-buttons.js": "/js/dist/floating-buttons.js?id=5d571b93e0e3b820cbc76ef91295b18d",
36+
"/js/dist/floating-buttons.min.js": "/js/dist/floating-buttons.min.js?id=5d571b93e0e3b820cbc76ef91295b18d",
3737
"/js/dist/apiService.js": "/js/dist/apiService.js?id=fcaa03a7b041bdfbfb064f093ec69c8e",
3838
"/js/dist/apiService.min.js": "/js/dist/apiService.min.js?id=fcaa03a7b041bdfbfb064f093ec69c8e",
3939
"/js/dist/filterInputs.js": "/js/dist/filterInputs.js?id=e41e8efe6a936a536e99827eed3d7ab9",

0 commit comments

Comments
 (0)