diff --git a/public/js/controllers/groupsCtrl.js b/public/js/controllers/groupsCtrl.js index b01fe886d5..9a97d9b1c3 100644 --- a/public/js/controllers/groupsCtrl.js +++ b/public/js/controllers/groupsCtrl.js @@ -99,7 +99,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', ' $scope.$watch('group.chat',$scope.chatChanged); $scope.caretChanged = function(newCaretPos) { - var relativeelement = $('.chat-form:first-child'); + var relativeelement = $('.chat-form div:first'); var textarea = $('.chat-form textarea'); var userlist = $('.list-at-user'); var offset = {