Skip to content

Commit

Permalink
Merge pull request #5 from kentaromiura/master
Browse files Browse the repository at this point in the history
Fix type in 'charAt' usage.
  • Loading branch information
loganfsmyth committed Mar 25, 2013
2 parents cdd449c + 2f2a4a3 commit 9f47dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MooToolsAdapter.js
Expand Up @@ -273,7 +273,7 @@

// Handle jQuery(html).
if (typeof expression === 'string' && !context){
if (expression.charAt(0) === '<' && expression.chartAt(expression.length - 1) === '>'){
if (expression.charAt(0) === '<' && expression.charAt(expression.length - 1) === '>'){
elements = [new Element('div', {
html: expression
}).getFirst()];
Expand Down

0 comments on commit 9f47dc5

Please sign in to comment.