mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Another fix for auto closing more info dialogs
This commit is contained in:
parent
487c9e1e72
commit
bc6def277e
@ -1,2 +1,2 @@
|
||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "8bb96a595e6f289fcfff343778765b42"
|
||||
VERSION = "010d9683fa9d210abd199b3cde4edbc0"
|
||||
|
File diff suppressed because one or more lines are too long
@ -41,8 +41,11 @@
|
||||
'tap': 'cardTapped',
|
||||
},
|
||||
|
||||
cardTapped: function() {
|
||||
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
||||
cardTapped: function(ev) {
|
||||
ev.stopPropagation();
|
||||
this.debounce('show-more-info-dialog', function() {
|
||||
uiActions.showMoreInfoDialog(this.stateObj.entityId);
|
||||
}.bind(this), 100);
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
@ -129,6 +129,10 @@
|
||||
},
|
||||
|
||||
changeEntityId: function(entityId) {
|
||||
if (entityId == this.entityId) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.entityId = entityId;
|
||||
|
||||
this.stateStoreChanged();
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 48cbca40dda47dba296e764fc4c9157652dbbbf1
|
||||
Subproject commit 5a7165b272fe2ed3e1b1432e2e621c3b971cc4bf
|
Loading…
x
Reference in New Issue
Block a user