We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7a69f commit 5a42ba8Copy full SHA for 5a42ba8
include-fragment-element.js
@@ -62,23 +62,15 @@ export default class IncludeFragmentElement extends HTMLElement {
62
}
63
64
set src(val) {
65
- if (val) {
66
- this.setAttribute('src', val)
67
- } else {
68
- this.removeAttribute('src')
69
- }
+ this.setAttribute('src', val)
70
71
72
get accept() {
73
return this.getAttribute('accept')
74
75
76
set accept(val) {
77
78
- this.setAttribute('accept', val)
79
80
- this.removeAttribute('accept')
81
+ this.setAttribute('accept', val)
82
83
84
get data() {
0 commit comments