mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +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);
|
longpress.bind(element);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const longPress = () =>
|
export const longPress = directive(() => (part: PropertyPart) => {
|
||||||
directive((part: PropertyPart) => {
|
|
||||||
longPressBind(part.committer.element);
|
longPressBind(part.committer.element);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user