forked from heygambo/uniform
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http://stackoverflow.com/questions/6637723/jquery-uniform-checkbox-does-not-uncheck Query 1.6.4 changed the meaning of the attr() function, which is used by jquery.uniform.js. attr() now returns the state that the attribute WAS in when the page loaded - not what the state of the attribute is NOW. There is a replacement function called prop(), which does the job that attr() used to do. To fix the plugin, replace each occurrence of attr("checked") with prop("checked"). Also, change attr("disabled") to prop("disabled"). That should fix your project up. It worked for me ;-) See also: AudithSoftworks#167, which attempts to address the issue with better backwards compatibility.
- Loading branch information
Showing
2 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.