Yes, I think an Obama victory was built into the markets for a while.I doubt it had anything to do with an Obama election. And I think wall street was likely expecting an Obama victory. In addition, not everyone on wall street was anti-obama.
The market drop was probably more affected by this:
Mario Draghi May Have Just Dropped A Hint About Tomorrow's ECB Interest Rate Decision