Commits

Takafumi Arakaki committed f145485

Fixed existance check of edit form in neorgInit

  • Participants
  • Parent commits bbe1368

Comments (0)

Files changed (1)

neorg/static/neorg.coffee

   neorgDictDiffInit()
 
   $("a.page-action-edit").click neorgEdit
-  neorgTextAreaInit() if $("#edit-form-textarea")
+  neorgTextAreaInit() if $("#edit-form-textarea").length > 0
   $("#edit-form-textarea").focus()