sinedie / SRTranslator

SRT files translator
Do What The F*ck You Want To Public License
219 stars 27 forks source link

fix error when text area empty #6

Closed nimmadev closed 1 year ago

nimmadev commented 1 year ago

firefox version: 108.0.1 linux: archolinux

sinedie commented 1 year ago

Okay... so i guess it throws an error when text area don't have a value... It could be done checking if the value != '' cause we need to clear always to be able to translate... but hoping that it doesnt raise anything when there is a value, i dont see why not to merge it.

Thank you for contribute :D