diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-22 15:22:36 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-22 15:22:36 +0200 |
commit | 3108dba268295461354a5756dbce58d8b6fb7121 (patch) | |
tree | 19c7e350d4764403eb8117f81f606300c433c780 /js | |
parent | 26c063e3b6fed152003fc9b41f36cdfeb5c09f5e (diff) |
add tooltip
Diffstat (limited to 'js')
-rw-r--r-- | js/build/app.js | 6 | ||||
-rw-r--r-- | js/directive/NewsTooltip.js | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/js/build/app.js b/js/build/app.js index 59b433c80..95e376798 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -1046,6 +1046,12 @@ var $__build_47_app__ = function () { }; } ]); + app.directive('newsTooltip', function () { + 'use strict'; + return function (scope, elem) { + elem.tooltip(); + }; + }); }(window, document, angular, jQuery, OC, oc_requesttoken)); return {}; }();
\ No newline at end of file diff --git a/js/directive/NewsTooltip.js b/js/directive/NewsTooltip.js new file mode 100644 index 000000000..8e15e5088 --- /dev/null +++ b/js/directive/NewsTooltip.js @@ -0,0 +1,17 @@ +/** + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @copyright Bernhard Posselt 2014 + */ +app.directive('newsTooltip', () => { + 'use strict'; + + return (scope, elem) => { + elem.tooltip(); + }; + +});
\ No newline at end of file |