Skip to main content
5 events
when toggle format what by license comment
May 21, 2015 at 2:39 comment added user40980 I see two parts here - the "thanks" which isn't appropriate in an answer, and then the code, which isn't wrong to have here - just try to write it more as a stand alone post rather than a commentary on another answer. Hypothetically, if all of my posts were to disappear tomorrow (they won't), your post should be able to stand alone and be helpful to someone who reads it.
May 21, 2015 at 2:37 history edited Juan Carlos Oropeza CC BY-SA 3.0
deleted 21 characters in body
May 21, 2015 at 2:37 comment added Juan Carlos Oropeza @MichaelT Do you mean is wrong say thanks in my answer? If that is the case I'm sorry didn't tought as a bad thing and will remove it now. I create the answer to show full solution.
May 21, 2015 at 2:32 comment added user40980 This isn't a forum (one of the more awkward things to get one's head around). The best thing to do would be to leave a comment on an answer. And that if statement works just as well and given that you understand it, is likely more maintainable (thats good).
May 21, 2015 at 2:29 history answered Juan Carlos Oropeza CC BY-SA 3.0