             try
               v += ', ' if v.length
               v += if typeof author is 'string' then author else if typeof author is 'object' and author.family then (author.family + if author.given then ', ' + author.given else '') else JSON.stringify author
-      else if k in ['doi','pmid','pmc','pmcid','url','journal','title','year','issn','volume','issue','page','crossref_type','publisher','published','notes']
+      else if k in ['doi','pmid','pmc','pmcid','url','journal','title','year','issn','volume','issue','page','crossref_type','type','publisher','published','notes']
         v = this.f.metadata[k]
       url += (config[k] ? k) + '=' + encodeURIComponent(v) + '&' if v
     notes = if this.data.usermetadata then 'The user provided some metadata. ' else ''

      setTimeout (() => this.permissions()), 100
    else
      this.loading false
      if this.f?.doi_not_in_crossref
        this.f = {}
        _L.show '#_oab_error', '<p>Double check your DOI, that doesn\'t look right to us.</p>'
        _L.gebi('_oab_input').focus()
      else if this.f?.metadata?.crossref_type? and this.f.metadata.crossref_type not in ['journal-article', 'proceedings-article']
        _L.gebi('_oab_input').focus()
        nj = '<p>Sorry, right now this only works with academic journal articles.'
        if this.cml()

  for m in ['title','year','journal','doi']
    if this.f?.metadata?[m]? or this.data[m]?
      _L.set '#_oab_'+m, (this.f.metadata ? this.data)[m] #.split('(')[0].trim()
  _L.hide '._oab_panel'
  _L.show '#_oab_metadata'

