adding a 'disabled' class to a link will... disable that link

Needed this functionality for a page I`m working on, thought the solution was decently clean. I would love to hear your thoughts on why this is/is not needed, and if there would be a better way to achieve the same end result.