1
2
3
4
//Detect IE10 and set an appropriate <html> class, considering that IE10 doesn't have conditional classes
if (/*@[email protected]*/false && document.documentMode === 10) {
    document.documentElement.className+=' ie-10';
}