I've decided that the best thing I can do is check to see if the window is
already open. If it is, then close the window before creating a new one with
the appropriate dimensions.
How would I do this? I know that I need to include a window.close() somewhere,
but it's the syntax and the order I'm not 100% sure about.
Okay,
I've decided that the best thing I can do is check to see if the window is already open. If it is, then close the window before creating a new one with the appropriate dimensions.
How would I do this? I know that I need to include a window.close() somewhere, but it's the syntax and the order I'm not 100% sure about.