From 658e876643942436169632e8b83b9d360eeca7a7 Mon Sep 17 00:00:00 2001 From: David Cormier Date: Mon, 1 Sep 2014 09:20:37 -0400 Subject: [PATCH] fixup font-family and font-size setting glitches Replace fontSize placeholder by default value. Placeholders should be used as suggestions, not effective values. Remove spurious default value for fontFamily (it is defined right below) --- index.html | 2 +- js/glowingbear.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 45327bc..59ee79f 100644 --- a/index.html +++ b/index.html @@ -305,7 +305,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
- +
diff --git a/js/glowingbear.js b/js/glowingbear.js index 88801cc..78da583 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -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);