force overflow = hidden to prevent no needed scrolls

This commit is contained in:
antoine
2014-10-03 11:03:53 +02:00
parent d4c79ccf03
commit 0469c206aa

View File

@@ -124,6 +124,9 @@ angular.module("umbraco.directives")
.find(".mce-toolbar")
.css("visibility", "hidden");
//force overflow to hidden to prevent no needed scroll
editor.getBody().style.overflow = "hidden";
$timeout(function(){
if(scope.value === null){
editor.focus();