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.

The close link on the mobile site gets mangled if you vote to close something that has existing close votes:

mangled mobile close link

This is a result of the response handler in StackExchange.vote_closingAndFlagging which does

b.text(b.text().replace(/\w?\(\d\)/, "") + " " + d.Message)

Since the mobile version of the site doesn't generate a space between the "close" and "(#)" portions, the \w? matches the "e" in addition to the count and cuts it off.

The mobile version of the site should likely have a space before the vote count, and the intended regular expression was probably /\s?\(\d\)/ (although removing the extra space isn't strictly necessary).

share|improve this question
5  
I would have probably stopped at the image. Nice job digging in and finding the cause of the bug. –  Bill the Lizard Oct 31 '12 at 18:37
3  
I figure they have bigger (and potentially literal) fish to fry on account of the flooding, so I opted to provide as much information as possible. –  Tim Stone Oct 31 '12 at 18:42
add comment

1 Answer

up vote 6 down vote accepted

Just gonna take your word on this one, the space will be there in the next build.

share|improve this answer
add comment

You must log in to answer this question.

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