Skip to content

Commit

Permalink
Pass focus as numeric value
Browse files Browse the repository at this point in the history
  • Loading branch information
alpadotsh committed Aug 30, 2019
1 parent 9d6d6df commit 9fae56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/viBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const spec = {
),
focus:
typeof document.hasFocus === 'function'
? document.hasFocus()
? +document.hasFocus()
: undefined
},
options: {
Expand Down

0 comments on commit 9fae56a

Please sign in to comment.