mirror of
https://github.com/imgfloat/client.git
synced 2026-02-05 12:09:27 +00:00
Add dev console button
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
<button class="window-control" type="button" data-window-action="minimize" aria-label="Minimize">
|
||||
−
|
||||
</button>
|
||||
<button class="window-control" type="button" data-window-action="devtools" aria-label="Toggle dev tools">
|
||||
⚙
|
||||
</button>
|
||||
<button
|
||||
class="window-control window-control-close"
|
||||
type="button"
|
||||
@@ -113,6 +116,9 @@
|
||||
if (action === "minimize") {
|
||||
window.store.minimizeWindow();
|
||||
}
|
||||
if (action === "devtools") {
|
||||
window.store.toggleDevTools();
|
||||
}
|
||||
if (action === "close") {
|
||||
window.store.closeWindow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user