From e10ce234dbf3ed347183f1e719e8ab1372ca8ea4 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Thu, 8 Aug 2019 23:09:34 +0200 Subject: [PATCH] Fix "infinityMode" typo --- .../directives/components/editor/umbeditors.directive.js | 4 +--- .../src/less/components/editor/umb-editor.less | 2 +- .../src/views/components/editor/umb-editors.html | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js index 4104a663d34d..9bdef4122505 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js @@ -16,9 +16,7 @@ editor.moveRight = true; editor.level = 0; editor.styleIndex = 0; - - editor.infinityMode = true; - + // push the new editor to the dom scope.editors.push(editor); diff --git a/src/Umbraco.Web.UI.Client/src/less/components/editor/umb-editor.less b/src/Umbraco.Web.UI.Client/src/less/components/editor/umb-editor.less index a9d879ab7fc9..3665f7d8fd10 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/editor/umb-editor.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/editor/umb-editor.less @@ -17,7 +17,7 @@ z-index: @zIndexEditor; } -.umb-editor--infinityMode { +.umb-editor--infiniteMode { transform: none; will-change: transform; transition: transform 400ms ease-in-out; diff --git a/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editors.html b/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editors.html index 99f9e96765a7..84d071232743 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editors.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editors.html @@ -5,7 +5,7 @@ ng-class="{'umb-editor--small': model.size === 'small', 'umb-editor--animating': model.animating, '--notInFront': model.inFront !== true, - 'umb-editor--infinityMode': model.infinityMode, + 'umb-editor--infiniteMode': model.infiniteMode, 'moveRight': model.moveRight, 'umb-editor--n0': model.styleIndex === 0, 'umb-editor--n1': model.styleIndex === 1,