Ake - the vote was relatively close 53 to 47 and, for a good part of the night was evens and, for some time, the no vote was in the lead. The turnaround came when the votes from the outlying parts of the state came in - the more faith based communities well away from the cities.
These were the people who have little or no contact with gays and who tend to be much more straightlaced, moralistic and judgemental, who listened more to the fearmongering and downright lies that were being pedalled in the adverts. Unfortunately ignorance is not easily eradicated.