We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab7f29 commit 8cca5e5Copy full SHA for 8cca5e5
ui/jquery.ui.mask.js
@@ -125,7 +125,7 @@ $.widget( "ui.mask", {
125
for ( bufferPosition = 0; bufferPosition < bufferLength; bufferPosition += bufferObject.length ) {
126
bufferObject = this.buffer[ bufferPosition ];
127
if ( bufferObject.literal ) {
128
- if ( !raw && bufferPosition < this.optionalPosition || this.isValid ) {
+ if ( !raw && ( bufferPosition < this.optionalPosition || this.isValid ) ) {
129
value += bufferObject.literal;
130
}
131
} else if ( bufferObject.value ) {
0 commit comments