plan b

I took a plan b with a big red soda because that was the only drink I had at the time. the pill dissolved into my mouth. will it still work even though I swallowed all of it?