Skip to content

Instantly share code, notes, and snippets.

@xto3na
Last active December 7, 2015 18:52
Show Gist options
  • Save xto3na/723c913201b42aae8302 to your computer and use it in GitHub Desktop.
Save xto3na/723c913201b42aae8302 to your computer and use it in GitHub Desktop.
Breadcrumb - remove last href...
$(".breadcrumb>li:last>a").removeAttr("href").css("cursor", "default").css("font-weight", "600");
$(".breadcrumb>li:last>a").on("click", function(ev) {
ev.preventDefault();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment