]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Only disable pointer-events on disabled <a> btns; fixes #16088 16092/head
authorChris Rebert <code@rebertia.com>
Tue, 17 Mar 2015 17:24:31 +0000 (10:24 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 17 Mar 2015 17:29:36 +0000 (10:29 -0700)
commitc26ffd43c39e2b6b31c67ba7f40c56d9caff8743
treee3309cc6aa42c4cd7efa54bc96bc3f21b9cab0fd
parentf5250d0a0e2a7cfed77f55654027ff151ebe5aeb
Only disable pointer-events on disabled <a> btns; fixes #16088

<a> doesn't support the `[disabled]` attribute,
so `a.btn.disabled` simulates it using `pointer-events: none`.
However, this is unnecessary for <button>s and <input>s, and
also prevents their `[disabled]` cursor from displaying.

[skip sauce]
[skip validator]
dist/css/bootstrap.css
less/buttons.less