adding timeout for Chrome to render before making the correction

This commit is contained in:
Niels Lyngsø
2019-12-03 12:06:31 +01:00
parent 153eb219f9
commit 2d0a8d52d9

View File

@@ -138,7 +138,11 @@ angular.module("umbraco.directives")
var unbindModelWatcher = scope.$watch(function() {
return ngModelController.$modelValue;
}, function(newValue) {
update(true);
$timeout(
function() {
update(true);
}
);
});
scope.$on('$destroy', function() {