What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

In this question, self clearing interval inside jquery.each() there was a minor omission in my code. A responder drew my attention to it and I accepted the answer. Should I correct the code in the question so that it's correct, for other users to be able to use it? Or is it bad to rewrite history?

I will, of course, comment the edited lines as //fixed as per accepted answer.

share|improve this question
    
+1 for asking the question to learn the proper way to do things :) –  Andrew's a Unitato Feb 13 '13 at 15:20
add comment

2 Answers

No, don't do it.

The answer was given in the context of the question, that is - wrong code.

If you correct the question, the answer is now meaningless.

share|improve this answer
add comment

If you want to show that you solved it, accept the answer that you used, and think about leaving a comment on the answer that says "thanks". If you fixed it yourself, and nobody else got it, answer your own question with the correct code. If nobody else has correctly answered your question, then accept your own answer.

share|improve this answer
    
A comment that says nothing but "thanks" is useless. –  Asad Feb 13 '13 at 16:54
1  
It simply shows that you have gained useful information from an answer. Many of us simply like to know that we are giving back to a community that has helped us, and don't care about rep. –  Grammar Feb 13 '13 at 16:56
    
Accepting an answer indicates that you found it useful. Comments like "thanks, that worked perfectly!" are harmless as a social nicety perhaps, but are entirely unnecessary. –  Asad Feb 13 '13 at 17:00
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .