Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
akless committed Apr 23, 2024
1 parent 0eab90e commit dc82044
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lang/ccm.lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
this.translate = content => {
if ( typeof content === 'string' )
return translateIndex( content );
else if ( $.isElement( content ) )
else if ( this.ccm.helper.isElement( content ) )
return translateElement( content );
else if ( $.isObject( content ))
else if ( this.ccm.helper.isObject( content ))
return translateDataset();
else
return translateElement(this.parent.element);
Expand Down
2 changes: 1 addition & 1 deletion lang/ccm.lang.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lang/ccm.lang.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lang/versions/ccm.lang-1.2.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@
this.translate = content => {
if ( typeof content === 'string' )
return translateIndex( content );
else if ( $.isElement( content ) )
else if ( this.ccm.helper.isElement( content ) )
return translateElement( content );
else if ( $.isObject( content ))
else if ( this.ccm.helper.isObject( content ))
return translateDataset();
else
return translateElement(this.parent.element);
Expand Down
Loading

0 comments on commit dc82044

Please sign in to comment.