mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Fix long press directive (#2464)
This commit is contained in:
parent
d738f6e2f6
commit
7173b16ef3
@ -183,7 +183,6 @@ export const longPressBind = (element: LongPressElement) => {
|
||||
longpress.bind(element);
|
||||
};
|
||||
|
||||
export const longPress = () =>
|
||||
directive((part: PropertyPart) => {
|
||||
longPressBind(part.committer.element);
|
||||
});
|
||||
export const longPress = directive(() => (part: PropertyPart) => {
|
||||
longPressBind(part.committer.element);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user