Sentence syntax correction

The original sentence does not make sense - "The ... method places the selected element(s) after the element that provided as an argument".  "that was provided" would make more sense, but so does "the element provided", which is the syntax used in the following, similar sentence.