Skip to content

Commit

Permalink
rename file name 'slider-area.js' to 'subcategory-scroll.js'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed Sep 27, 2024
1 parent 8b81cd8 commit df5218a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion source/js/buyers-guide/search/search-filter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import { Utils } from "./utils.js";
import { markScrollStart } from "./slider-area.js";
import { markScrollStart } from "./subcategory-scroll.js";
import { setupHistoryManagement, applyHistory } from "./history.js";
import {
setupNavLinks,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/**
* Mouse/touch scroll functionality for the sub category area on mobile
*
* @todo Rename this file to something more specific. Maybe something like subcategory-scroll.js
*/
const subcategories = document.querySelectorAll(`.subcategories`);
const subContainer = document.querySelector(`.subcategory-header`);
Expand Down

0 comments on commit df5218a

Please sign in to comment.