So I have searched everywhere I couldn't find an answer to this
thisObj.$playpauseButton.find('svg').attr('viewBox',newSvgData[0]);
<svg focusable="false" aria-hidden="true" viewBox="-40 -130 500 600" viewbox="-28 -140 500 600">
The code here only changes the last viewbox attribute not both of them, How can I select both or select the first one only?