olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.04k stars 1.96k forks source link

pagecontrol #217

Closed SergID closed 9 years ago

SergID commented 11 years ago

Pagecontrol doesn't allow usage of links inside lists (ul li a). this is because of line 33 in pagecontrol.js. could you please create some class for menu ul (like .menu) and use this class instead of $(".page-control ul li a").click(function (e)......

winden commented 11 years ago

I suggest a simple fix instead of $(".page-control ul li a").click(function (e) { have $(".page-control > ul li a").click(function (e) {

This works for me