Couldn't disagree more regarding the validity of the question - but you totally answered it in your post.
Which should settle it - you did nothing wrong. As Xapi pointed out, everyone likes to feel desirable. There's a huge chasm between harmless flirting and actually cheating.