Make entire style name clickable
This commit is contained in:
parent
bc3f2e0fcf
commit
0d87689078
|
@ -49,10 +49,10 @@
|
|||
</svg>
|
||||
</label>
|
||||
</div>
|
||||
<div class="entry-col entry-name">
|
||||
<a href="#" class="entry-name"></a>
|
||||
<a href="#" class="entry-col entry-name">
|
||||
<span class="entry-name-text"></span>
|
||||
<span class="entry-labels"></span>
|
||||
</div>
|
||||
</a>
|
||||
<div class="entry-col entry-actions">
|
||||
<a href="#" class="entry-configure-usercss tt-e" i18n-data-title="configureStyle">
|
||||
<svg class="svg-icon entry-config" viewBox="0 0 24 24">
|
||||
|
|
|
@ -103,7 +103,7 @@ const UI = {
|
|||
entry,
|
||||
entryClassBase: entry.className,
|
||||
checker: $('.entry-state-toggle', entry) || {},
|
||||
nameLink: $('a.entry-name', entry),
|
||||
nameLink: $('.entry-name', entry),
|
||||
editLink: $('.entry-edit', entry) || {},
|
||||
editHrefBase: 'edit.html?id=',
|
||||
appliesTo: $('.entry-applies-to', entry),
|
||||
|
@ -120,7 +120,7 @@ const UI = {
|
|||
|
||||
parts.checker.checked = style.enabled;
|
||||
|
||||
parts.nameLink.textContent = tWordBreak(style.name);
|
||||
$('.entry-name-text', parts.nameLink).textContent = tWordBreak(style.name);
|
||||
parts.nameLink.href = parts.editLink.href = parts.editHrefBase + style.id;
|
||||
|
||||
// clear the code to free up some memory
|
||||
|
|
Loading…
Reference in New Issue
Block a user