A note on Thue's equation on function fields