Modifies angular model instead of dom element

fixes #74
with-route-provider
David Cormier 12 years ago
parent 84cc93fbb0
commit 6055e699ff
  1. 2
      js/websockets.js

@ -666,7 +666,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$rootScope.iterCandidate = nickComp.iterCandidate;
// update current input
inputNode.value = nickComp.text;
$scope.command = nickComp.text;
// update current caret position
inputNode.focus();

Loading…
Cancel
Save