Help with closed window

Avast detected a trojan when I openned up a site. But instead of clicking abort, i closed the window. I ran avast and spybot and nothing came up. Am I okay? THanks!!

I would say so as abort connection is an implied/only action.