move the auto-scale directive from obsolete. It is still pretty usefull for the code editors

This commit is contained in:
Mads Rasmussen
2018-08-10 14:02:59 +02:00
parent cd6585c9b9
commit c0ec2a5314
2 changed files with 1 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
#Obsolete directives
Folder contains directives we plan to remove in the next major version of umbraco (8.0) these are not recommended to use.

View File

@@ -20,7 +20,7 @@
angular.module("umbraco.directives")
.directive('autoScale', function ($window) {
return function (scope, el, attrs) {
var totalOffset = 0;
var offsety = parseInt(attrs.autoScale, 10);
var window = angular.element($window);