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:
parent
26c063e3b6
commit
3108dba268
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 {};
|
||||
}();
|
17
js/directive/NewsTooltip.js
Normal file
17
js/directive/NewsTooltip.js
Normal 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();
|
||||
};
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user