remove tooltip on hover on desktop
This commit is contained in:
parent
521c88fe58
commit
c3e8497636
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -129,13 +129,6 @@
|
|||
right: 4px;
|
||||
max-width: 380px;
|
||||
min-width: 300px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
@include hover {
|
||||
.cannot_delete_reason {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue