From a856289cfd7a5c3c430d32f746c53e2739ab0af0 Mon Sep 17 00:00:00 2001 From: Erik van `t Wout Date: Fri, 4 Oct 2019 21:28:58 +0200 Subject: [PATCH] * Small QoL changes --- ewpass.js | 6 ++++-- index.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ewpass.js b/ewpass.js index 16b1b70..80d6da7 100644 --- a/ewpass.js +++ b/ewpass.js @@ -1,4 +1,4 @@ -var ewpass = {}; +var ewpass = {}; (function(ns) { const SEED_PREFIX = 'E. W. Password Generator Seed/'; @@ -19,7 +19,7 @@ var checkSeedChecksum = () => { const valid = $('#checksum').text() === settings.checksum; - $('#chkok').html(valid ? '✓' : '✗'); + $('#chkok').html(valid ? '???' : '???'); $('#chkset').prop('disabled', valid ? 'disabled' : ''); seedValid = valid; @@ -77,6 +77,8 @@ var domain = $('#domain').val(); if (domain in settings.domains) { ns.loadSettingsForDomain(domain); + } else { + ns.loadSettingsForDomain(''); } }; diff --git a/index.html b/index.html index 3ec2a38..a083a64 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ Domain: - + Options: