Merge pull request #433 from glowing-bear/fix-font-size-glitch

fixup font-family and font-size setting glitches
rewrite-with-urlplugin
Lorenz Hübschle-Schneider 11 years ago
commit 5b7f2b4ed1
  1. 2
      index.html
  2. 4
      js/glowingbear.js

@ -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>
<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>
</form>

@ -248,9 +248,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
// Save setting for playing sound on notification
$store.bind($scope, "soundnotification", false);
// Save setting for font family
$store.bind($scope, "fontfamily", utils.getClassStyle('favorite-font', 'fontFamily'));
$store.bind($scope, "fontfamily");
// Save setting for font size
$store.bind($scope, "fontsize", utils.getClassStyle('favorite-font', 'fontSize'));
$store.bind($scope, "fontsize", "14px");
// Save setting for readline keybindings
$store.bind($scope, "readlineBindings", false);

Loading…
Cancel
Save