rails/jquery-ujs — pull request #328 by pzgz (2013-06-11 08:37:50+00:00)
Title: Use attr to set disabled attribute for `a` tag, instead of using prop

Since anchor tag `a` doesn't actually support `disabled` attribute. So,
if we use `prop` to disable a link, the css selector `a[disabled]`
won't work. In some css frameworks, such as bootstrap, the anchor won't
have any differences. Using `attr()` will make things different.