1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-09 10:15:44 +02:00

add tooltip

This commit is contained in:
Bernhard Posselt 2014-05-22 15:22:36 +02:00
parent 26c063e3b6
commit 3108dba268
2 changed files with 23 additions and 0 deletions
js
build
directive

View File

@ -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 {};
}();

View File

@ -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();
};
});