mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
fix "Next" button not appearing in merge dialog (#5563)
On windows and linux. Fixes: #5561
This commit is contained in:
parent
59742ccc8f
commit
e3926c657a
1 changed files with 3 additions and 4 deletions
|
|
@ -302,7 +302,7 @@ var Zotero_Merge_Window = new function () {
|
|||
_wizard.getButton("finish").setAttribute("hidden", "true");
|
||||
}
|
||||
else {
|
||||
let deck = document.querySelector(".wizard-next-deck");
|
||||
let deck = _wizard.shadowRoot.querySelector(".wizard-next-deck");
|
||||
deck.selectedIndex = 1;
|
||||
}
|
||||
|
||||
|
|
@ -317,10 +317,9 @@ var Zotero_Merge_Window = new function () {
|
|||
_wizard.getButton("next").setAttribute("hidden", "true");
|
||||
finishButton.setAttribute("hidden", "false");
|
||||
}
|
||||
// Windows uses a deck to switch between the Next and Finish buttons
|
||||
// TODO: check Linux
|
||||
// Windows and Linux use a deck to switch between the Next and Finish buttons
|
||||
else {
|
||||
let deck = document.querySelector(".wizard-next-deck");
|
||||
let deck = _wizard.shadowRoot.querySelector(".wizard-next-deck");
|
||||
deck.selectedIndex = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue