Wikipedia talk:User scripts/Guide: Difference between revisions

Content deleted Content added
Legobot (talk | contribs)
m Bot: Fixing lint errors, replacing obsolete HTML tags: <tt> (5x)
 
Line 19:
 
Today User:Zvn edited section "Removing elements". He changed this:
:''To move an element simply attach it in another place with <ttcode>appendChild()</ttcode> or <ttcode>insertBefore()</ttcode>.''
to this:
:''To move an element simply attach it in another place with <ttcode>appendChild()</ttcode> or <ttcode>insertBefore()</ttcode> and remove the original element with <ttcode>removeChild()</ttcode>.''
I am just a beginner javacoder, but I think that is wrong. There is no need to remove the item from the old position manually, that happens automatically when one has inserted it in a new position.