From 3f09cf566b42322f9f6250d85d00dcbddb566310 Mon Sep 17 00:00:00 2001 From: Hashen <37979557+Hashen110@users.noreply.github.com> Date: Mon, 18 Apr 2022 17:12:52 +0530 Subject: [PATCH] fix typo in a comment (#2462) * fix typo in a comment * fix typo in a comment --- src/js/listeners.js | 2 +- src/js/plyr.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/listeners.js b/src/js/listeners.js index dfe118b5..7f05f3ae 100644 --- a/src/js/listeners.js +++ b/src/js/listeners.js @@ -883,7 +883,7 @@ class Listeners { elements.inputs.volume, 'wheel', (event) => { - // Detect "natural" scroll - suppored on OS X Safari only + // Detect "natural" scroll - supported on OS X Safari only // Other browsers on OS X will be inverted until support improves const inverted = event.webkitDirectionInvertedFromDevice; // Get delta from event. Invert if `inverted` is true diff --git a/src/js/plyr.d.ts b/src/js/plyr.d.ts index 01e2ba94..976b58c3 100644 --- a/src/js/plyr.d.ts +++ b/src/js/plyr.d.ts @@ -212,7 +212,7 @@ declare class Plyr { airplay(): void; /** - * Sets the preview thubmnails for the current source. + * Sets the preview thumbnails for the current source. */ setPreviewThumbnails(source: Plyr.PreviewThumbnailsOptions): void;