diff --git a/Source/Element/Element.js b/Source/Element/Element.js index d6c855d62..902c4f9e2 100644 --- a/Source/Element/Element.js +++ b/Source/Element/Element.js @@ -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){