Don't close calendar event popup when something goes fullscreen
Don't close calendar event popup when something goes fullscreen

closes LS-1427
flag=none

The calendar was closing event popups on window resize, which is also
fired when an element goes into/out of fullscreen. This change checks
to see if we've just transitioned into/out of fullscreen, and if so
does not close event popups.

Also quieted a zillion eslint errors

test plan:
  - create a calendar event and embed a youtube video (or anything
    else that can be made fullscreen)
  - open the event, play the video and make fullscreen
  > expect the video to keep playing
  - exit fullscreen, try both ESC and using the button
  > expect the video to return to original size and the event
    popup to remain open
  - resize the window
  > expect the event popup to close

Change-Id: I6bf48cb5082221a5ba86adde978c220fbb344fe0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249359
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Reviewed-by: Jackson Howe <318c10a818c1b1f2ec50cdcb1827b2c6c5ebd7dc@instructure.com>
QA-Review: Jackson Howe <318c10a818c1b1f2ec50cdcb1827b2c6c5ebd7dc@instructure.com>
Product-Review: Ed Schiebel <0ca8a83847a5889cf05cb219c0ab09f6b646243b@instructure.com>

sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms