From 4f2650277aa61cc1012240525856b60fc3ec68df Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 6 Nov 2017 17:07:14 +0100 Subject: [PATCH] Don't need `showcharacterslefttext` if we're always showing number of chars left --- .../src/views/propertyeditors/textbox/textbox.controller.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.controller.js index e88f118c49..2d0515d764 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.controller.js @@ -10,8 +10,6 @@ function textboxController($scope) { } if ($scope.model.config && $scope.model.config.maxChars) { - $scope.model.showcharacterslefttext = $scope.model.config.maxChars < 500; - if ($scope.model.value == undefined) { $scope.model.count = ($scope.model.config.maxChars * 1); } else { @@ -33,4 +31,4 @@ function textboxController($scope) { } } } -angular.module('umbraco').controller("Umbraco.PropertyEditors.textboxController", textboxController); \ No newline at end of file +angular.module('umbraco').controller("Umbraco.PropertyEditors.textboxController", textboxController);