Skip to content

Commit

Permalink
fix: queryselector from addReference outside of reference editor
Browse files Browse the repository at this point in the history
  • Loading branch information
wonknu committed Dec 16, 2016
1 parent 27b549b commit 22c628f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,8 +11,8 @@ export default class EditorReferences {
this.jsonError = document.querySelector('.json-error')
this.addReference = document.querySelector('.btn-add-reference')
this.addReferenceInput = document.querySelector('.btn-add-reference input')
this.nameError = this.addReference.querySelector('.error-display')
if(!this.referenceLinks || this.referenceLinks.length < 1) return
this.nameError = this.addReference.querySelector('.error-display')
this.rebind()
}

Expand Down

0 comments on commit 22c628f

Please sign in to comment.