Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Jan 14, 2025
1 parent 677efd1 commit c045e43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/TizenVideo/TizenVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,12 @@ function TizenVideo(options) {
}
onPropChanged('buffering');

var TIZEN_MATCHES = navigator.userAgent.match(/Tizen (\d+\.\d+)/i)
var tizenVersion = false;

var TIZEN_MATCHES = navigator.userAgent.match(/Tizen (\d+\.\d+)/i);

if (TIZEN_MATCHES && TIZEN_MATCHES[1]) {
tizenVersion = parseFloat(TIZEN_MATCHES[1])
tizenVersion = parseFloat(TIZEN_MATCHES[1]);
}

if (!tizenVersion || tizenVersion >= 6) {
Expand Down

0 comments on commit c045e43

Please sign in to comment.