Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #894, getPrevious now get the first previous node that matches …
…the passed expression.
  • Loading branch information
fabiomcosta authored and cpojer committed Jun 9, 2010
1 parent 4dfad4e commit c397bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Element/Element.js
Expand Up @@ -466,7 +466,7 @@ Element.implement({
},

getPrevious: function(match){
return document.id(Slick.find(this, '!+ ' + (match || '')));
return document.id(Slick.find(this, '!~ ' + (match || '')));
},

getAllPrevious: function(match){
Expand Down

0 comments on commit c397bf0

Please sign in to comment.