It's also possible in JOSM to find the affected dragged nodes, look at their coordinates history and right click over the Latitude/Longitude text and choose "Restore".

Sometimes this can be easier than a selective revert where you do want to keep most of the other changes.