mirror of
https://github.com/nextcloud/passman.git
synced 2025-01-30 19:28:00 +08:00
18 lines
391 B
JavaScript
18 lines
391 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* @ngdoc directive
|
|
* @name passmanApp.directive:passwordGen
|
|
* @description
|
|
* # passwordGen
|
|
*/
|
|
angular.module('passmanApp')
|
|
.directive('useTheme', ['$window', function ($window) {
|
|
return {
|
|
restrict: 'A',
|
|
link: function (scope, el, attr, ctrl) {
|
|
var _color = $('#header').css('background-color');
|
|
$(el).css('background-color', _color);
|
|
}
|
|
};
|
|
}]);
|