[w3c/screen-orientation] Fix error in example usage (PR #246)

Closes #245

@Maferep caught that the example treats `screen.orientation` as a string instead of an object. Updates the example to use `.type` instead.

You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/screen-orientation/pull/246

-- Commit Summary --

  * Fix error in example usage

-- File Changes --

    M index.html (1)

-- Patch Links --

https://github.com/w3c/screen-orientation/pull/246.patch
https://github.com/w3c/screen-orientation/pull/246.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/246
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/246@github.com>

Received on Sunday, 2 April 2023 20:24:17 UTC