static: reuse the existing button style for sign out (section 31 point 1)
This commit is contained in:
1 parent
51b5269b4f
commit
eb254f721a
1 file changed
+2
-1
+2
-1
@@ -65,7 +65,8 @@
|
||||
}
|
||||
const button = document.createElement("button");
|
||||
button.type = "button";
|
||||
button.className = "sign-out";
|
||||
// The existing secondary button style is reused, so no new CSS is needed.
|
||||
button.className = "secondary-button sign-out";
|
||||
button.textContent = "Sign out";
|
||||
button.addEventListener("click", signOut);
|
||||
(topbar.querySelector(".topbar-actions") || topbar).append(button);
|
||||
|
||||
Reference in new issue
Block a user