parent
3128c7f063
commit
8e4b2fbbb0
|
@ -17,7 +17,7 @@
|
|||
<template data-id="style">
|
||||
<div class="entry">
|
||||
<h2 class="style-name">
|
||||
<a class="style-name-link" href="edit.html?id="></a>
|
||||
<a class="style-name-link"></a>
|
||||
<a target="_blank" class="homepage"></a>
|
||||
</h2>
|
||||
<p class="applies-to">
|
||||
|
@ -25,7 +25,7 @@
|
|||
<span class="targets"></span>
|
||||
</p>
|
||||
<p class="actions">
|
||||
<a class="style-edit-link" href="edit.html?id=">
|
||||
<a class="style-edit-link">
|
||||
<button i18n-text="editStyleLabel"></button>
|
||||
</a>
|
||||
<button class="enable" i18n-text="enableStyleLabel"></button>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<div class="entry">
|
||||
<h2 class="style-name">
|
||||
<input class="checker" type="checkbox" i18n-title="toggleStyle">
|
||||
<a class="style-name-link" href="edit.html?id="></a>
|
||||
<a class="style-name-link"></a>
|
||||
</h2>
|
||||
<p class="actions">
|
||||
<a target="_blank" class="homepage"></a>
|
||||
|
|
|
@ -155,7 +155,7 @@ function createStyleElement({style, name}) {
|
|||
checker: $('.checker', entry) || {},
|
||||
nameLink: $('.style-name-link', entry),
|
||||
editLink: $('.style-edit-link', entry) || {},
|
||||
editHrefBase: $('.style-name-link', entry).getAttribute('href'),
|
||||
editHrefBase: 'edit.html?id=',
|
||||
homepage: $('.homepage', entry),
|
||||
homepageIcon: template[`homepageIcon${newUI.enabled ? 'Small' : 'Big'}`],
|
||||
appliesTo: $('.applies-to', entry),
|
||||
|
|
Loading…
Reference in New Issue
Block a user