simplify notes in options
This commit is contained in:
parent
b0f08a7d6f
commit
497f31e3cd
29
options.html
29
options.html
|
@ -156,11 +156,8 @@
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<span i18n-text="manageFavicons">
|
<span i18n-text="manageFavicons">
|
||||||
<a data-cmd="note"
|
<a i18n-title="manageFaviconsHelp"
|
||||||
i18n-title="manageFaviconsHelp"
|
data-cmd="note" href="#" class="svg-inline-wrapper">
|
||||||
href="#"
|
|
||||||
class="svg-inline-wrapper"
|
|
||||||
tabindex="0">
|
|
||||||
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -188,11 +185,8 @@
|
||||||
<div class="items">
|
<div class="items">
|
||||||
<label>
|
<label>
|
||||||
<span i18n-text="optionsUpdateInterval">
|
<span i18n-text="optionsUpdateInterval">
|
||||||
<a data-cmd="note"
|
<a i18n-title="optionsUpdateImportNote"
|
||||||
i18n-title="optionsUpdateImportNote"
|
data-cmd="note" href="#" class="svg-inline-wrapper">
|
||||||
href="#"
|
|
||||||
class="svg-inline-wrapper"
|
|
||||||
tabindex="0">
|
|
||||||
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -243,11 +237,8 @@
|
||||||
<div class="items">
|
<div class="items">
|
||||||
<label class="chromium-only">
|
<label class="chromium-only">
|
||||||
<span i18n-text="optionsAdvancedStyleViaXhr">
|
<span i18n-text="optionsAdvancedStyleViaXhr">
|
||||||
<a data-cmd="note"
|
<a i18n-title="optionsAdvancedStyleViaXhrNote"
|
||||||
i18n-title="optionsAdvancedStyleViaXhrNote"
|
data-cmd="note" href="#" class="svg-inline-wrapper">
|
||||||
href="#"
|
|
||||||
class="svg-inline-wrapper"
|
|
||||||
tabindex="0">
|
|
||||||
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -258,12 +249,8 @@
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<span i18n-text="optionsAdvancedExposeIframes">
|
<span i18n-text="optionsAdvancedExposeIframes">
|
||||||
<a data-cmd="note"
|
<a i18n-title="optionsAdvancedExposeIframesNote"
|
||||||
i18n-data-title="optionsAdvancedExposeIframesNote"
|
data-cmd="note" href="#" class="svg-inline-wrapper">
|
||||||
i18n-title="optionsAdvancedExposeIframesNote"
|
|
||||||
href="#"
|
|
||||||
class="svg-inline-wrapper"
|
|
||||||
tabindex="0">
|
|
||||||
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -238,6 +238,7 @@ function setupRadioButtons() {
|
||||||
function splitLongTooltips() {
|
function splitLongTooltips() {
|
||||||
for (const el of $$('[title]')) {
|
for (const el of $$('[title]')) {
|
||||||
el.dataset.title = el.title;
|
el.dataset.title = el.title;
|
||||||
|
el.title = el.title.replace(/<\/?\w+>/g, ''); // strip html tags
|
||||||
if (el.title.length < 50) {
|
if (el.title.length < 50) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user