Skip to content

Commit

Permalink
store window width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Jul 11, 2024
1 parent d9055ce commit 476bc29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions experiment/fiction.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ var fiction_showimage1 = {
on_finish: function (data) {
data.trial_number = fiction_trialnumber
fiction_trialnumber += 1
window_width = window.innerWidth
window_height = window.innerHeight
},
// Enable webgazer
extensions: [
Expand Down

0 comments on commit 476bc29

Please sign in to comment.