Skip to content

Commit 9fae56a

Browse files
committed
Pass focus as numeric value
1 parent 9d6d6df commit 9fae56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/viBidAdapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ const spec = {
375375
),
376376
focus:
377377
typeof document.hasFocus === 'function'
378-
? document.hasFocus()
378+
? +document.hasFocus()
379379
: undefined
380380
},
381381
options: {

0 commit comments

Comments
 (0)