@pageboard/html 0.12.27 → 0.12.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/elements/media.js +1 -1
- package/package.json +1 -1
- package/ui/form.js +2 -2
package/elements/media.js
CHANGED
|
@@ -67,7 +67,7 @@ exports.video = {
|
|
|
67
67
|
},
|
|
68
68
|
html: `<video is="element-video" data-src="[url]" class="[display.fit|or:none]"
|
|
69
69
|
preload="metadata" autoplay="[autoplay]" loop="[loop]"
|
|
70
|
-
muted="[muted]" controls="[controls]"></video>`,
|
|
70
|
+
muted="[muted]" controls="[controls]" playsinline></video>`,
|
|
71
71
|
scripts: [
|
|
72
72
|
'../ui/media.js'
|
|
73
73
|
],
|
package/package.json
CHANGED
package/ui/form.js
CHANGED
|
@@ -455,8 +455,8 @@ HTMLButtonElement.prototype.fill = HTMLInputElement.prototype.fill = function (v
|
|
|
455
455
|
if (this.type == "file") {
|
|
456
456
|
if (val === '') this.removeAttribute('value');
|
|
457
457
|
else this.setAttribute('value', val);
|
|
458
|
-
} else if (this.type == "submit"
|
|
459
|
-
this.value = val;
|
|
458
|
+
} else if (this.type == "submit") {
|
|
459
|
+
if (this.value == '') this.value = val;
|
|
460
460
|
} else {
|
|
461
461
|
this.value = val;
|
|
462
462
|
}
|