Fixed welcome background
This commit is contained in:
parent
b7cf8f36ba
commit
865f2b6824
@ -1103,6 +1103,23 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
.directive('myCustomBackground', function () {
|
||||||
|
|
||||||
|
return {
|
||||||
|
link: link
|
||||||
|
};
|
||||||
|
|
||||||
|
function link($scope, element, attrs) {
|
||||||
|
|
||||||
|
console.log(dT(), 'bg', attrs.myCustomBackground);
|
||||||
|
$('html').css({background: attrs.myCustomBackground});
|
||||||
|
|
||||||
|
$scope.$on('$destroy', function () {
|
||||||
|
$('html').css({background: ''});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
.directive('myModalPosition', function ($window, $timeout) {
|
.directive('myModalPosition', function ($window, $timeout) {
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="welcome_footer">
|
<div class="welcome_footer" my-custom-background="#f8f8f8">
|
||||||
<div class="welcome_cards_wrap clearfix">
|
<div class="welcome_cards_wrap clearfix">
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user