mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: more optimization
This commit is contained in:
parent
e250b6369e
commit
fbd1464772
@ -393,7 +393,7 @@ td.no-edit, span.no-edit {
|
||||
editable_validate : function(txt, orig, columnIndex, $element){
|
||||
// only allow one word
|
||||
var t = /\s/.test(txt) ? txt.split(/\s/)[0] : txt;
|
||||
return t ? t : false;
|
||||
return t || false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user