mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-02 06:42:33 -08:00
formatting
This commit is contained in:
1 parent
8a7bd507e2
commit
dcd0d723a0
1 file changed
+1
-2
@@ -1,5 +1,4 @@
|
||||
const IGNORED_MESSAGE_GESTURE_SELECTOR =
|
||||
'[data-gestures="ignore"]:not([data-message-swipe])';
|
||||
const IGNORED_MESSAGE_GESTURE_SELECTOR = '[data-gestures="ignore"]:not([data-message-swipe])';
|
||||
|
||||
export function shouldIgnoreMessageLongPress(target: Element | null | undefined): boolean {
|
||||
return target?.closest(IGNORED_MESSAGE_GESTURE_SELECTOR) !== null;
|
||||
|
||||
Reference in new issue
Block a user