Fixes typos

This commit is contained in:
Andreas Deininger
2023-01-25 14:13:31 +01:00
parent 447fefd31c
commit 32a16295c3
5 changed files with 12 additions and 12 deletions

View File

@@ -1251,7 +1251,7 @@ export default function( revealElement, options ) {
*/
function slide( h, v, f, origin ) {
// Dispatch an event before hte slide
// Dispatch an event before the slide
const slidechange = dispatchEvent({
type: 'beforeslidechange',
data: {
@@ -1852,7 +1852,7 @@ export default function( revealElement, options ) {
}
// If includeFragments is set, a route will be considered
// availalbe if either a slid OR fragment is available in
// available if either a slid OR fragment is available in
// the given direction
if( includeFragments === true ) {
let fragmentRoutes = fragments.availableRoutes();