Merge pull request #343 from glowing-bear/defaultport

Fix default port
This commit is contained in:
David Cormier 2014-07-02 08:55:44 -04:00
commit 528237071f
2 changed files with 1 additions and 4 deletions

View file

@ -64,7 +64,7 @@
<label class="control-label" for="host">WeeChat relay hostname and port number</label>
<div class="input-group">
<input type="text" class="form-control monospace" id="host" ng-model="host" placeholder="Address">
<input type="text" class="form-control monospace" id="port" ng-model="port">
<input type="text" class="form-control monospace" id="port" ng-model="port" placeholder="Port">
</div>
<label class="control-label" for="password">WeeChat relay password</label>
<input type="password" class="form-control monospace" id="password" ng-model="password" placeholder="Password">

View file

@ -523,9 +523,6 @@ 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;