refactor(bs3): maybe fix for chat suggestions

This commit is contained in:
Matteo Pagliazzi 2014-02-08 20:23:50 +01:00
parent 46053cc520
commit 1e3042a4b6

View file

@ -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 div:first');
var relativeelement = $('.chat-form:first-child');
var textarea = $('.chat-form textarea');
var userlist = $('.list-at-user');
var offset = {