Fixes: U4-7541 umbAutoResize does not work in Microsoft Edge

This commit is contained in:
Mads Rasmussen
2015-12-15 14:51:51 +01:00
parent c813eccb45
commit 9a8273b784

View File

@@ -19,7 +19,7 @@ angular.module("umbraco.directives")
var ua = window.navigator.userAgent;
var msie = ua.indexOf("MSIE ");
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./) || navigator.userAgent.match(/Edge\/\d+/)) {
return true;
} else {
return false;