Fix broken on-outside-click

This commit is contained in:
Kenn Jacobsen
2019-06-27 12:55:37 +02:00
committed by Sebastiaan Janssen
parent a8b5d69be0
commit 4d90322842

View File

@@ -136,7 +136,8 @@ angular.module('umbraco.directives')
return;
}
angularHelper.safeApply(scope, attrs.onOutsideClick);
// please to not use angularHelper.safeApply here, it won't work
scope.$apply(attrs.onOutsideClick);
}