The main way in which buying on a margin allowed more people to invest in the stock market is that it allowed more people to borrow money for such investments, meaning that they were more willing to take risks since they were using the funds of a bank.