Remove keyboard shortcut button in settings

This commit is contained in:
Corbin Davenport 2022-12-20 14:27:27 -05:00
parent 329bd6e8cc
commit 8ea6db1c82
2 changed files with 1 additions and 6 deletions

View File

@ -30,9 +30,4 @@ document.querySelectorAll('input,select').forEach(function (el) {
}) })
}) })
// Open keyboard shortcut
document.querySelector('#mastodon-keyboard-shortcut').addEventListener('click', function() {
chrome.tabs.create({ url: 'chrome://extensions/shortcuts#:~:text=Share%20to%20Mastodon' })
})
loadSettings() loadSettings()

View File

@ -27,7 +27,7 @@
</div> </div>
<!-- Link to keyboard shortcut --> <!-- Link to keyboard shortcut -->
<div class="mb-3"> <div class="mb-3">
<button type="button" class="btn btn-sm btn-primary w-100" id="mastodon-keyboard-shortcut">Change keyboard shortcut</button> You can configure the keyboard shortcut from <b>about:addons</b> > settings gear button > "Manage extension shortcuts."
</div> </div>
<hr> <hr>
<p>If you find Share to Mastodon useful, please donate to support continued development. It would mean a lot!</p> <p>If you find Share to Mastodon useful, please donate to support continued development. It would mean a lot!</p>