Skip to content

Commit

Permalink
finally
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Apr 9, 2024
1 parent b229b1a commit 0ac2c0f
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions content/ZoteroItemPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,8 @@ export class ZoteroItemPane {
// const itemPane = (win as any).ZoteroItemPane
// itemPane.BetterBibTeX = this

if (!this.document.getElementById('better-bibtex-editpane-item-box')) {
if (is7) {
/*
itemBox.parentNode.parentNode.parentNode.appendChild(elements.create('html:div', { style: 'display: flex; flex-direction: column;' , $: [
elements.create('html:div', { id: 'better-bibtex-editpane-item-box', style: 'display: flex; flex-direction: row', $: [
elements.create('label', { id: 'better-bibtex-citekey-label', style: 'flex: 0 0 auto; width: 9em; text-align: right; color: #7F7F7F', value: '' }),
elements.create('html:input', { id: 'better-bibtex-citekey-display', type: 'text', style: 'flex: 0 0 auto', readonly: 'true', value: '' }),
]}),
itemBox.parentNode.parentNode,
]}))
*/
log.debug('waiting for API to insert citekey in itempane')
}
else {
if (!is7) {
if (!this.document.getElementById('better-bibtex-editpane-item-box')) {
itemBox.parentNode.appendChild(elements.create('vbox', { flex: 1, style: 'margin: 0; padding: 0', $: [

elements.create('grid', { id: 'better-bibtex-editpane-item-box', $: [
Expand Down

0 comments on commit 0ac2c0f

Please sign in to comment.