Closed mkhazov closed 9 years ago
Hi,
There is no difference, as the document.location
and window.location
identical, document.location
is an alias of window.location
But if you so desire, I can fix comment
As you see fit) I just thought that this little mismatch in code and in comment is a bit confusing
Okay, I will correct the comment)
I suppose, that comment in examples is outdated? In previous version line below contained document.location, but now it's window.location.