Skip to content

Commit

Permalink
升级为0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
redleafnew committed Apr 25, 2021
1 parent 5961291 commit aa71f91
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions chrome/content/scripts/delitem.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,19 +196,19 @@ Zotero.DelItem = {
// showMenuAtt ||
// showMenuSnap);

pane.document.getElementById( //总菜单
"zotero-itemmenu-delitem-namehandler"
).disabled = !( // 总菜单是否可用
showMenuAtt ||
showMenuSnap);
pane.document.getElementById( //删除条目和附件
/*pane.document.getElementById( //总菜单
// "zotero-itemmenu-delitem-namehandler"
// ).disabled = !( // 总菜单是否可用
// showMenuAtt ||
// showMenuSnap);*/
/*pane.document.getElementById( //删除条目和附件
"zotero-itemmenu-delitem"
).disabled = !( // 删除条目和附件是否可用
showMenuAtt ||
showMenuSnap);
showMenuSnap);*/
pane.document.getElementById( // 仅删除附件菜单
"zotero-itemmenu-delatt"
).disabled = !showMenuAtt; // 仅删除附件菜单是否可用
).disabled = (!showMenuAtt || showMenuSnap) ; // 仅删除附件菜单是否可用

pane.document.getElementById( // 仅删除快照菜单
"zotero-itemmenu-delsnap"
Expand Down

0 comments on commit aa71f91

Please sign in to comment.