mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-28 09:22:58 +08:00
19 lines
391 B
JavaScript
19 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);
|
||
|
}
|
||
|
};
|
||
|
}]);
|