Merge pull request #433 from glowing-bear/fix-font-size-glitch
fixup font-family and font-size setting glitches
This commit is contained in:
commit
5b7f2b4ed1
2 changed files with 3 additions and 3 deletions
|
@ -305,7 +305,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
|
|
||||||
<label for="size" class="col-sm-1 control-label">Size</label>
|
<label for="size" class="col-sm-1 control-label">Size</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" ng-model="fontsize" class="form-control" id="size" placeholder="14px">
|
<input type="text" ng-model="fontsize" class="form-control" id="size">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -248,9 +248,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
// Save setting for playing sound on notification
|
// Save setting for playing sound on notification
|
||||||
$store.bind($scope, "soundnotification", false);
|
$store.bind($scope, "soundnotification", false);
|
||||||
// Save setting for font family
|
// Save setting for font family
|
||||||
$store.bind($scope, "fontfamily", utils.getClassStyle('favorite-font', 'fontFamily'));
|
$store.bind($scope, "fontfamily");
|
||||||
// Save setting for font size
|
// Save setting for font size
|
||||||
$store.bind($scope, "fontsize", utils.getClassStyle('favorite-font', 'fontSize'));
|
$store.bind($scope, "fontsize", "14px");
|
||||||
// Save setting for readline keybindings
|
// Save setting for readline keybindings
|
||||||
$store.bind($scope, "readlineBindings", false);
|
$store.bind($scope, "readlineBindings", false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue