-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for resetText of a button to be a falsey value; fixes #13466 #13511
Conversation
Updated to comply with |
Should I include a unit test for this? |
It would certainly be nice if you did. |
Just went ahead and copy-pasted the previous test, let me know if I should do it differently, I'm not that experienced with QUnit. |
lgtm, thanks! |
Allow for resetText of a button to be a falsey value; fixes #13466
@hnrch02: this breaks tests with strict comparisons https://travis-ci.org/twbs/bootstrap/jobs/24849122 |
Hmm, everything passes locally. If you change the style to comply with eqeqeq, you'll need to compare it to |
Thanks. I changed both checks to check for undefined since that's what its value was. |
/cc @fat @cvrebert