A note on Jordan derivations of triangular rings