Javascript Svg Only Attr Y Does Not Work Immediately Stack Overflow

Javascript Svg Only Attr Y Does Not Work Immediately Stack Overflow