Merge pull request #4768 from gsambrotta/fix-pr-4747
Delete disabled Category button: remove tooltip on hover on desktop
This commit is contained in:
commit
13fd8a45e3
|
@ -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