cfg -> settings

This commit is contained in:
tophf 2021-12-29 22:50:51 +03:00
parent 888323743e
commit f7c0afbf66
3 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@
<div> <div>
<button id="save-button" i18n-text="styleSaveLabel" data-hotkey-tooltip="save" disabled></button> <button id="save-button" i18n-text="styleSaveLabel" data-hotkey-tooltip="save" disabled></button>
<button id="beautify" i18n-text="styleBeautify"></button> <button id="beautify" i18n-text="styleBeautify"></button>
<button id="style-cfg-btn" i18n-text="settings"></button> <button id="style-settings-btn" i18n-text="settings"></button>
<button id="cancel-button" i18n-title="styleCancelEditLabel"></button> <button id="cancel-button" i18n-title="styleCancelEditLabel"></button>
</div> </div>
<div id="mozilla-format-buttons" class="sectioned-only"> <div id="mozilla-format-buttons" class="sectioned-only">

View File

@ -34,7 +34,7 @@ a:hover {
} }
html.is-new-style #preview-label, html.is-new-style #preview-label,
html.is-new-style #style-cfg-btn, html.is-new-style #style-settings-btn,
html.is-new-style #publish, html.is-new-style #publish,
.hidden { .hidden {
display: none !important; display: none !important;

View File

@ -47,7 +47,7 @@ baseInit.ready.then(async () => {
require(['/edit/linter-dialogs'], () => linterMan.showLintConfig()); require(['/edit/linter-dialogs'], () => linterMan.showLintConfig());
$('#lint-help').onclick = () => $('#lint-help').onclick = () =>
require(['/edit/linter-dialogs'], () => linterMan.showLintHelp()); require(['/edit/linter-dialogs'], () => linterMan.showLintHelp());
$('#style-cfg-btn').onclick = () => require([ $('#style-settings-btn').onclick = () => require([
'/edit/settings.css', '/edit/settings.css',
'/edit/settings', /* global StyleSettings */ '/edit/settings', /* global StyleSettings */
], () => StyleSettings()); ], () => StyleSettings());