can't choose bars or beats

I think i accidentally pressed a hotkey and switched something up. I no longer have the option to choose bars, beats, or to quantize, but it now gives me the choice between 1 ms, 10 ms, 100 ms, and 1000 ms. I want to be able to choose bars or beats again, do you know how?

nevermind, i figured it out. you just press control and press the ruler, then switch it back to bars and beats :S.