mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Another fix for auto closing more info dialogs
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user