From 9a22e8d2f199135836d1cef48faeb2bd0af02216 Mon Sep 17 00:00:00 2001 From: Renato Atilio Date: Mon, 30 Dec 2024 12:45:06 -0300 Subject: [PATCH] DEV: fix cancel swipe callback typo (#30491) --- app/assets/javascripts/discourse/app/modifiers/swipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/modifiers/swipe.js b/app/assets/javascripts/discourse/app/modifiers/swipe.js index 92e8c45c291..01227191c63 100644 --- a/app/assets/javascripts/discourse/app/modifiers/swipe.js +++ b/app/assets/javascripts/discourse/app/modifiers/swipe.js @@ -135,7 +135,7 @@ export default class SwipeModifier extends Modifier { enableBodyScroll(this.element); } - this.onDidCancelSwipe?.(event.detail); + this.onDidCancelSwipeCallback?.(event.detail); } /**