summaryrefslogtreecommitdiffstats
path: root/js/directive/NewsTooltip.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive/NewsTooltip.js')
-rw-r--r--js/directive/NewsTooltip.js17
1 files changed, 17 insertions, 0 deletions
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