remove tooltip on hover on desktop

This commit is contained in:
giorgia 2017-03-20 13:26:36 +01:00
parent 521c88fe58
commit c3e8497636
2 changed files with 1 additions and 11 deletions

View File

@ -106,10 +106,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
},
toggleDeleteTooltip() {
// check if is touch device
if ( $('html').hasClass('discourse-touch') ) {
this.toggleProperty('hiddenTooltip');
}
this.toggleProperty('hiddenTooltip');
}
}

View File

@ -129,13 +129,6 @@
right: 4px;
max-width: 380px;
min-width: 300px;
display: none;
}
@include hover {
.cannot_delete_reason {
display: block;
}
}
}
}