mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
@@ -20,6 +20,12 @@ habitrpg
|
||||
}
|
||||
});
|
||||
|
||||
$scope.keyDownListener = function (e) {
|
||||
if (e.key === 'Enter' && (e.metaKey || e.ctrlKey)) {
|
||||
$scope.sendPrivateMessage($scope.profile._id, $scope._message);
|
||||
}
|
||||
};
|
||||
|
||||
$scope.sendPrivateMessage = function(uuid, message){
|
||||
if (!message) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user