scatter: make sure that restyle('mode', '') remove unwanted lines
scatter: make sure that restyle('mode', '') remove unwanted lines

- by moving the line data.join out of the hasLines block

etpinard/plotly.js,plotly/plotly.js,asolagmbh/plotly.js,iongroup/plotly.js,aburato/plotly.js,iongroup/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,asolagmbh/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js,iongroup/plotly.js,etpinard/plotly.js,aburato/plotly.js