Avoid default behavior in disabled and active links in pagination