Posts by Lucas Gabriel • 1 point
1 post
- 
		-3 votes2 answers160 viewsA: Different behavior inside and outside the functionPaulaodev’s answer may already clarify something. But in case you’re still in trouble, what I recommend is doing what Sam and Raphael Godoi indicated. Comment on the line window.location.href =… javascriptanswered Lucas Gabriel 1