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) {
|
if (!srcdoc) {
|
||||||
const windowNewButton = document.createElement("button");
|
const windowNewButton = document.createElement("button");
|
||||||
windowNewButton.innerHTML = "open_in_new";
|
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.classList.add("window-new-button");
|
||||||
windowNewButton.addEventListener("click", () => window.open(content));
|
windowNewButton.addEventListener("click", () => window.open(content));
|
||||||
windowNewButton.addEventListener("touchstart", (e) =>
|
windowNewButton.addEventListener("touchstart", (e) =>
|
||||||
|
@ -620,7 +620,7 @@ class WindowObject {
|
||||||
{
|
{
|
||||||
const windowMinimizeButton = document.createElement("button");
|
const windowMinimizeButton = document.createElement("button");
|
||||||
windowMinimizeButton.innerHTML = "minimize";
|
windowMinimizeButton.innerHTML = "minimize";
|
||||||
windowDestroyButton.ariaLabel = "Minimize Window";
|
windowMinimizeButton.ariaLabel = "Minimize Window";
|
||||||
windowMinimizeButton.classList.add("window-minimize-button");
|
windowMinimizeButton.classList.add("window-minimize-button");
|
||||||
windowMinimizeButton.addEventListener("click", () =>
|
windowMinimizeButton.addEventListener("click", () =>
|
||||||
windowRef.minimizeWindow()
|
windowRef.minimizeWindow()
|
||||||
|
@ -638,7 +638,7 @@ class WindowObject {
|
||||||
{
|
{
|
||||||
const windowMaximizeButton = document.createElement("button");
|
const windowMaximizeButton = document.createElement("button");
|
||||||
windowMaximizeButton.innerHTML = "maximize";
|
windowMaximizeButton.innerHTML = "maximize";
|
||||||
windowDestroyButton.ariaLabel = "Maximize Window";
|
windowMaximizeButton.ariaLabel = "Maximize Window";
|
||||||
windowMaximizeButton.classList.add("window-maximize-button");
|
windowMaximizeButton.classList.add("window-maximize-button");
|
||||||
windowMaximizeButton.ariaHidden = true; // esoteric operation to screen-reader users
|
windowMaximizeButton.ariaHidden = true; // esoteric operation to screen-reader users
|
||||||
windowMaximizeButton.addEventListener("click", () =>
|
windowMaximizeButton.addEventListener("click", () =>
|
||||||
|
|
Loading…
Reference in a new issue