diff options
author | brantje <brantje@gmail.com> | 2016-12-19 19:51:59 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-12-19 20:04:00 +0300 |
commit | 892965e86998248f4da87fcc5a1268c37b26a0f3 (patch) | |
tree | 7a12dc8ee7a263b98ae73f1727bc0e1ae4e9df7c /js | |
parent | c573f2d3de69095e095027d146a1662f31bbe21e (diff) |
Fix for NC12 $container->getDb()
Diffstat (limited to 'js')
-rw-r--r-- | js/app/controllers/edit_credential.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/controllers/edit_credential.js b/js/app/controllers/edit_credential.js index 73d5ee21..930b3ca2 100644 --- a/js/app/controllers/edit_credential.js +++ b/js/app/controllers/edit_credential.js @@ -329,7 +329,7 @@ delete _credential.shared_key; var _useKey = (key != null); var regex = /(<([^>]+)>)/ig; - if(_credential.description && _credential.description != "") { + if(_credential.description && _credential.description !== "") { _credential.description = _credential.description.replace(regex, ""); } CredentialService.updateCredential(_credential, _useKey).then(function () { |