Merge pull request #4768 from gsambrotta/fix-pr-4747

Delete disabled Category button: remove tooltip on hover on desktop
This commit is contained in:
Sam 2017-03-20 09:57:16 -04:00 committed by GitHub
commit 13fd8a45e3
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;
}
}
}
}