@saooti/octopus-sdk 30.0.50 → 30.0.51
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/README.md
CHANGED
|
@@ -546,4 +546,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
546
546
|
* 30.0.47 Live error
|
|
547
547
|
* 30.0.48 Podcastmaker ScrollOverflow PodcastInlineList
|
|
548
548
|
* 30.0.49 Podcastmaker ProgressBar
|
|
549
|
-
* 30.0.50 Commentaires live
|
|
549
|
+
* 30.0.50 Commentaires live
|
|
550
|
+
* 30.0.51 Commentaires live
|
package/package.json
CHANGED
|
@@ -89,6 +89,9 @@ export default defineComponent({
|
|
|
89
89
|
|
|
90
90
|
methods: {
|
|
91
91
|
addKeyboardControl(event: KeyboardEvent): void{
|
|
92
|
+
if(!event || null ===event){return;}
|
|
93
|
+
const element = event.target as HTMLElement;
|
|
94
|
+
if (!element || 'INPUT' == element.tagName.toUpperCase() || 'TEXTAREA' == element.tagName.toUpperCase()){return;}
|
|
92
95
|
if (' ' === event.key || 'Spacebar' === event.key) {
|
|
93
96
|
event.preventDefault();
|
|
94
97
|
this.switchPausePlay();
|