summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/settings.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/settings.html b/ext/settings.html
index 67510b99..8a2c1308 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -3061,7 +3061,7 @@
</div>
</div>
<div class="modal-footer">
- <button class="low-emphasis danger" id="hotkey-list-reset">Reset</button>
+ <button class="low-emphasis danger" data-modal-action="show,keyboard-shortcuts-reset">Reset</button>
<button class="low-emphasis" id="hotkey-list-add">Add</button>
<button data-modal-action="hide">Close</button>
</div>
@@ -3116,6 +3116,17 @@
</div>
</div></div>
+<div id="keyboard-shortcuts-reset-modal" class="modal" tabindex="-1" role="dialog" hidden><div class="modal-content modal-content-small">
+ <div class="modal-header"><div class="modal-title">Confirm Keyboard Shortcuts Reset</div></div>
+ <div class="modal-body">
+ Are you sure you want to reset all keyboard shortcuts to their defaults?
+ </div>
+ <div class="modal-footer">
+ <button class="low-emphasis" data-modal-action="hide">Cancel</button>
+ <button class="danger" id="hotkey-list-reset" data-modal-action="hide">Reset All</button>
+ </div>
+</div></div>
+
<!-- Keyboard shortcuts templates -->
<template id="hotkey-list-item-template"><div class="hotkey-list-item"><div class="hotkey-list-item-grid">
<div class="hotkey-list-item-index-cell generic-list-index-prefix"></div>