Rename CopyCurrentURLAsMarkdownToClipboard method to follow camelCase convention

This commit is contained in:
mr. M
2025-02-03 23:44:29 +01:00
parent 8ca765cce0
commit feda757c81
3 changed files with 13 additions and 13 deletions

2
l10n

Submodule l10n updated: 98c54b87df...57853cc9e1

View File

@@ -72,7 +72,7 @@ var gZenCommonActions = {
ConfirmationHint.show(document.getElementById('PanelUI-menu-button'), 'zen-copy-current-url-confirmation'); ConfirmationHint.show(document.getElementById('PanelUI-menu-button'), 'zen-copy-current-url-confirmation');
} }
}, },
CopyCurrentURLAsMarkdownToClipboard() { copyCurrentURLAsMarkdownToClipboard() {
const currentUrl = gBrowser.currentURI.spec; const currentUrl = gBrowser.currentURI.spec;
const tabTitle = gBrowser.selectedTab.label; const tabTitle = gBrowser.selectedTab.label;
if (currentUrl && tabTitle) { if (currentUrl && tabTitle) {

View File

@@ -918,10 +918,10 @@ class ZenKeyboardShortcutsVersioner {
'', '',
ZEN_OTHER_SHORTCUTS_GROUP, ZEN_OTHER_SHORTCUTS_GROUP,
KeyShortcutModifiers.fromObject({ accel: true, shift: true, alt: true }), KeyShortcutModifiers.fromObject({ accel: true, shift: true, alt: true }),
'code:gZenCommonActions.CopyCurrentURLAsMarkdownToClipboard()', 'code:gZenCommonActions.copyCurrentURLAsMarkdownToClipboard()',
'zen-text-action-copy-url-markdown-shortcut' 'zen-text-action-copy-url-markdown-shortcut'
) )
) );
} }
return data; return data;
} }