Open betsim opened 5 years ago
I add "http://" on an input "URL" with insertLeft. Works fine if a URL is provided, but gives an error, if the field is emtpy, so the input only contains "http://". Is there a way to only insertLeft the input "URL" when it's not empty?
I add "http://" on an input "URL" with insertLeft. Works fine if a URL is provided, but gives an error, if the field is emtpy, so the input only contains "http://". Is there a way to only insertLeft the input "URL" when it's not empty?