js: Fix Key.hasSecret answer
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 31 Jul 2018 14:54:43 +0000 (16:54 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 31 Jul 2018 14:54:43 +0000 (16:54 +0200)
commit9d247b7fd5edd11fb5710a057baec671276f5034
treeddffaaece87b5b423ca28f0dd007903e487f15dd
parente16a87e83910ebb6bfdc4148369165f121f0997e
js: Fix Key.hasSecret answer

--

* The comparision result between Keyring and Keyring with secrets was
  set to the wrong Object which was not returned at all.
lang/js/src/Key.js
lang/js/src/Keyring.js