Remove keyboard shortcut button in settings
This commit is contained in:
parent
329bd6e8cc
commit
8ea6db1c82
|
@ -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()
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue