Fix selectText for site password.
This commit is contained in:
parent
6afdb38f98
commit
ff12aa6d7f
@ -42,7 +42,7 @@
|
||||
<option value="phrase">Phrase</option>
|
||||
</select>
|
||||
</span><br>
|
||||
<input id="sitePassword" placeholder="Your password is ..." disabled /><br>
|
||||
<h2 id="sitePassword" title="Your password is ..."></h2><br>
|
||||
<input id="logout" type="submit" value="⎋" />
|
||||
<input type="image" src="img/spinner.svg" />
|
||||
</p>
|
||||
|
@ -62,7 +62,7 @@ function updateSite() {
|
||||
else
|
||||
mpw.generatePassword( $('#siteName')[0].value, $('#siteCounter')[0].valueAsNumber, $('#siteType')[0].value )
|
||||
.then( function (sitePassword) {
|
||||
$('#sitePassword').val(sitePassword);
|
||||
$('#sitePassword').text(sitePassword);
|
||||
update('site');
|
||||
}, function (reason) {
|
||||
update('site', null, reason);
|
||||
|
Loading…
Reference in New Issue
Block a user