At the moment passing UA string of IE11 to is method returns false. Change msie to trident in order to ensure this is ie. Placed it in front of mozilla check as MS guys also removed 'compatible' word from string, so that mozilla mistakenly doesn't show true.
At the moment passing UA string of IE11 to is method returns false. Change msie to trident in order to ensure this is ie. Placed it in front of mozilla check as MS guys also removed 'compatible' word from string, so that mozilla mistakenly doesn't show true.