From ff12aa6d7f9d221887f8cd0f3aac17b2cd476c67 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sun, 3 May 2015 14:36:07 -0400 Subject: [PATCH] Fix selectText for site password. --- Site/mpw-js/index.html | 2 +- Site/mpw-js/js/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Site/mpw-js/index.html b/Site/mpw-js/index.html index e46fbc21..6bc28255 100644 --- a/Site/mpw-js/index.html +++ b/Site/mpw-js/index.html @@ -42,7 +42,7 @@
-
+


diff --git a/Site/mpw-js/js/main.js b/Site/mpw-js/js/main.js index 45e23ec6..34456762 100644 --- a/Site/mpw-js/js/main.js +++ b/Site/mpw-js/js/main.js @@ -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);