Skip to content

Commit

Permalink
fix: Remove "exists" check of the glide track element (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
germandmg authored Jul 4, 2024
1 parent b00af24 commit 55700b3
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 55700b3

Please sign in to comment.