diff --git a/js/src/components/Local/CloseContent.vue b/js/src/components/Local/CloseContent.vue
index 567df69e9..4001ef863 100644
--- a/js/src/components/Local/CloseContent.vue
+++ b/js/src/components/Local/CloseContent.vue
@@ -19,14 +19,14 @@
-
+
();
+// const scrollContainer = ref
();
-const scrollHandler = () => {
- if (scrollContainer.value) {
- showScrollRightButton.value =
- scrollContainer.value.scrollLeft <
- scrollContainer.value.scrollWidth - scrollContainer.value.clientWidth;
- showScrollLeftButton.value = scrollContainer.value.scrollLeft > 0;
- }
-};
+// const scrollHandler = () => {
+// if (scrollContainer.value) {
+// showScrollRightButton.value =
+// scrollContainer.value.scrollLeft <
+// scrollContainer.value.scrollWidth - scrollContainer.value.clientWidth;
+// showScrollLeftButton.value = scrollContainer.value.scrollLeft > 0;
+// }
+// };
-const doScroll = (e: Event, left: number) => {
- e.preventDefault();
- if (scrollContainer.value) {
- scrollContainer.value.scrollBy({
- left,
- behavior: "smooth",
- });
- }
-};
+// const doScroll = (e: Event, left: number) => {
+// e.preventDefault();
+// if (scrollContainer.value) {
+// scrollContainer.value.scrollBy({
+// left,
+// behavior: "smooth",
+// });
+// }
+// };
-const scrollLeft = (e: Event) => {
- doScroll(e, -300);
-};
+// const scrollLeft = (e: Event) => {
+// doScroll(e, -300);
+// };
-const scrollRight = (e: Event) => {
- doScroll(e, 300);
-};
+// const scrollRight = (e: Event) => {
+// doScroll(e, 300);
+// };
-const scrollHorizontalToVertical = (evt: WheelEvent) => {
- evt.deltaY > 0 ? doScroll(evt, 300) : doScroll(evt, -300);
-};
+// const scrollHorizontalToVertical = (evt: WheelEvent) => {
+// evt.deltaY > 0 ? doScroll(evt, 300) : doScroll(evt, -300);
+// };
-onMounted(async () => {
- scrollContainer.value.addEventListener("wheel", scrollHorizontalToVertical);
-});
+// onMounted(async () => {
+// scrollContainer.value.addEventListener("wheel", scrollHorizontalToVertical);
+// });
-onUnmounted(() => {
- if (scrollContainer.value) {
- scrollContainer.value.removeEventListener(
- "wheel",
- scrollHorizontalToVertical
- );
- }
-});
+// onUnmounted(() => {
+// if (scrollContainer.value) {
+// scrollContainer.value.removeEventListener(
+// "wheel",
+// scrollHorizontalToVertical
+// );
+// }
+// });