Skip to content

Commit

Permalink
- Remove "exists" check of the glide track element
Browse files Browse the repository at this point in the history
  • Loading branch information
germandmg committed Jul 4, 2024
1 parent b00af24 commit ad287cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ export default function (Glide, Components, Events) {
* @return {Object}
*/
set (t) {
if (exist(t)) {
Html._t = t
} else {
warn(`Could not find track element. Please use ${TRACK_SELECTOR} attribute.`)
}
}
})

Expand Down

0 comments on commit ad287cf

Please # to comment.