Add support for themes (fixes #1925)
This commit is contained in:
9
gui/default/syncthing/core/popoverDirective.js
Normal file
9
gui/default/syncthing/core/popoverDirective.js
Normal file
@@ -0,0 +1,9 @@
|
||||
angular.module('syncthing.core')
|
||||
.directive('popover', function () {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attributes) {
|
||||
$(element).popover();
|
||||
}
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user