mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Hide file renaming banner if "Learn More" is clicked
This commit is contained in:
parent
b21e442c4f
commit
dd19cf58cc
1 changed files with 6 additions and 0 deletions
|
|
@ -6713,6 +6713,12 @@ var ZoteroPane = new function () {
|
|||
|
||||
document.getElementById('file-renaming-documentation-link').onclick = () => {
|
||||
Zotero.launchURL("https://www.zotero.org/support/file_renaming");
|
||||
// Do this in the next loop to avoid a visual glitch in Fx140.3 where the background
|
||||
// color of the banner remains in part of the item pane header until switching to a
|
||||
// different tab and back
|
||||
setTimeout(() => {
|
||||
this.hideFileRenamingBanner();
|
||||
});
|
||||
};
|
||||
|
||||
this.document.getElementById('file-renaming-banner-close').onclick = () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue