Flatten GUI tree somewhat
The very deep tree structure didn't really aggree with me, sorry. This makes the core module rather large, but on the other hand that just highlights that it is rather large.
This commit is contained in:
9
gui/syncthing/core/popoverDirective.js
Normal file
9
gui/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