diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Global/InputPasswordToggle.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Global/InputPasswordToggle.vue b/src/components/Global/InputPasswordToggle.vue index 2119f8c6..969a15d3 100644 --- a/src/components/Global/InputPasswordToggle.vue +++ b/src/components/Global/InputPasswordToggle.vue @@ -35,7 +35,7 @@ export default { this.isVisible = !this.isVisible; - if (inputEl.nodeName === 'INPUT') { + if (inputEl && inputEl.nodeName === 'INPUT') { inputEl.type = this.isVisible ? 'text' : 'password'; } |