mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
Revert "DEV: Enable and fix link-href-attributes lint"
Introducing an href attribute on the upload button caused the page to reload when clicked
This reverts commit a17fa222af
.
This commit is contained in:
parent
57321b90f0
commit
e6e6d20912
@ -11,7 +11,6 @@ module.exports = {
|
||||
"img-alt-attributes": false,
|
||||
"linebreak-style": true,
|
||||
"link-rel-noopener": true,
|
||||
"link-href-attributes": true,
|
||||
"no-abstract-roles": true,
|
||||
"no-args-paths": true,
|
||||
"no-attrs-in-components": true,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<div class="body">
|
||||
{{textarea value=shareUrl class="topic-share-url"}}
|
||||
<div class="topic-share-url-for-touch"><a href>{{! set by component }}</a></div>
|
||||
<div class="topic-share-url-for-touch"><a></a></div>
|
||||
|
||||
<div class="sources">
|
||||
{{#each sources as |source|}}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<div>
|
||||
<input type="text">
|
||||
<div class="share-for-touch"><div class="overflow-ellipsis"><a href>{{! set by component }}</a></div></div>
|
||||
<div class="share-for-touch"><div class="overflow-ellipsis"><a></a></div></div>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
|
@ -191,7 +191,7 @@
|
||||
|
||||
{{#if site.mobileView}}
|
||||
{{#if allowUpload}}
|
||||
<a href class="btn btn-default no-text mobile-file-upload {{if isUploading 'hidden'}}">
|
||||
<a class="btn btn-default no-text mobile-file-upload {{if isUploading 'hidden'}}">
|
||||
{{d-icon uploadIcon}}
|
||||
</a>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user