This commit is contained in:
sairaj mote 2022-07-06 01:25:04 +05:30
parent b746e6d879
commit da289259ed

View File

@ -184,8 +184,8 @@
Create new article
</menu-option>
<menu-option onclick="openPopup('edit_sections_popup')">
<svg class="icon margin-right-0-5" title="edit" xmlns="http://www.w3.org/2000/svg"
height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">
<svg class="icon margin-right-0-5" title="edit" xmlns="http://www.w3.org/2000/svg" height="24px"
viewBox="0 0 24 24" width="24px" fill="#000000">
<path d="M0 0h24v24H0z" fill="none"></path>
<path
d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z">
@ -1626,7 +1626,7 @@
},
articleLink(details, isDefaultArticle) {
const { uid, timestamp, title } = details
const link = html.node`<a class="article-link flex interact" href="#/home?articleID=${uid}">${title}</a>`
const link = html.node`<a class="article-link flex interact" href="${`#/home?articleID=${uid}`}">${title}</a>`
if (isDefaultArticle) {
link.classList.add('default-article')
link.title = 'Actively written article'