From 7080432f3424ef161e49363c83d14fa84a08bdee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Wed, 1 Aug 2018 15:41:49 +0200 Subject: [PATCH] Cleaner fields pre-filling (ng-value) --- index.html | 17 +++++++++++------ js/glowingbear.js | 6 +++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 1e3d09d..67fb9b7 100644 --- a/index.html +++ b/index.html @@ -103,10 +103,18 @@
- +
- +
@@ -129,10 +137,7 @@
- +
diff --git a/js/glowingbear.js b/js/glowingbear.js index f42476d..a45193e 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -41,9 +41,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', // or else they won't be saved to the localStorage. settings.setDefaults({ 'theme': 'dark', - 'host': window.location.hostname, - 'port': 443, - 'ssl': true, + 'host': window.location.hostname, // Left here for compat - not sure if necessary + 'port': 443, // Left here for compat - not sure if necessary + 'ssl': true, // Left here for compat - not sure if necessary 'savepassword': false, 'autoconnect': false, 'nonicklist': utils.isMobileUi(),