oops
This commit is contained in:
parent
32da09fdb7
commit
68c8c274a3
1 changed files with 3 additions and 3 deletions
|
@ -604,7 +604,7 @@ class WindowObject {
|
|||
if (!srcdoc) {
|
||||
const windowNewButton = document.createElement("button");
|
||||
windowNewButton.innerHTML = "open_in_new";
|
||||
windowDestroyButton.ariaLabel = "Open Window Content In New Tab";
|
||||
windowNewButton.ariaLabel = "Open Window Content In New Tab";
|
||||
windowNewButton.classList.add("window-new-button");
|
||||
windowNewButton.addEventListener("click", () => window.open(content));
|
||||
windowNewButton.addEventListener("touchstart", (e) =>
|
||||
|
@ -620,7 +620,7 @@ class WindowObject {
|
|||
{
|
||||
const windowMinimizeButton = document.createElement("button");
|
||||
windowMinimizeButton.innerHTML = "minimize";
|
||||
windowDestroyButton.ariaLabel = "Minimize Window";
|
||||
windowMinimizeButton.ariaLabel = "Minimize Window";
|
||||
windowMinimizeButton.classList.add("window-minimize-button");
|
||||
windowMinimizeButton.addEventListener("click", () =>
|
||||
windowRef.minimizeWindow()
|
||||
|
@ -638,7 +638,7 @@ class WindowObject {
|
|||
{
|
||||
const windowMaximizeButton = document.createElement("button");
|
||||
windowMaximizeButton.innerHTML = "maximize";
|
||||
windowDestroyButton.ariaLabel = "Maximize Window";
|
||||
windowMaximizeButton.ariaLabel = "Maximize Window";
|
||||
windowMaximizeButton.classList.add("window-maximize-button");
|
||||
windowMaximizeButton.ariaHidden = true; // esoteric operation to screen-reader users
|
||||
windowMaximizeButton.addEventListener("click", () =>
|
||||
|
|
Loading…
Reference in a new issue