Set port variable instead of placeholder
Suggesting a port in the placeholder can be confusing, as it may lead people to believe that this value will be sent to the server while in fact it will not be. Fix #324
This commit is contained in:
parent
98f0b6c60a
commit
6b4d2fddbb
2 changed files with 4 additions and 1 deletions
|
@ -519,6 +519,9 @@ function($rootScope,
|
|||
|
||||
weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', '$log', 'models', 'connection', function ($rootScope, $scope, $store, $timeout, $log, models, connection) {
|
||||
|
||||
|
||||
$scope.port = 9001;
|
||||
|
||||
// From: http://stackoverflow.com/a/18539624 by StackOverflow user "plantian"
|
||||
$rootScope.countWatchers = function () {
|
||||
var q = [$rootScope], watchers = 0, scope;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue