Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update js/jquery.fmatter.js

resolves issue #379
  • Loading branch information...
commit b398cf3c61f959d7f932df5dbaee54b8f775bd60 1 parent 899a8b1
@kccarter kccarter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.fmatter.js
View
2  js/jquery.fmatter.js
@@ -271,7 +271,7 @@
if(op.disabled===true) {ds = "disabled=\"disabled\"";} else {ds="";}
if($.fmatter.isEmpty(cval) || $.fmatter.isUndefined(cval) ) {cval = $.fn.fmatter.defaultFormat(cval,op);}
cval=cval+"";cval=cval.toLowerCase();
- var bchk = cval.search(/(false|0|no|off)/i)<0 ? " checked='checked' " : "";
+ var bchk = cval.search(/(false|0|no|n|off)/i)<0 ? " checked='checked' " : "";
return "<input type=\"checkbox\" " + bchk + " value=\""+ cval+"\" offval=\"no\" "+ds+ "/>";
};
$.fn.fmatter.link = function(cellval, opts) {
Please sign in to comment.
Something went wrong with that request. Please try again.