So I flagged the question Conditional CSS for Internet Explorer 10 only as a dupe of the question How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code?
In my flagging history it says the following:
exact duplicate of stackoverflow.com/questions/9900311 – Mar 21 at 15:14 declined - a moderator reviewed your flag, but found no evidence to support it
Only I can't understand why it was declined, because they got the exact same answer!.
Answer from the duplicate:
if ($.browser.msie && parseInt($.browser.version, 10) === 10) {
$(".jMenu li ul").css("margin", "1px");
}
Answer from the original:
if ($.browser.msie && $.browser.version == 10) {
$("html").addClass("ie10");
}
If you take out parseInt
and an =
then you get the exact same thing...
The jQuery, JavaScript and HTML tags are already full of crap, it's so easy to see this is a duplicate. Can it please be marked as such?